---
title: "Update the description on a referral document (RDVM can only update their own uploads)"
method: PATCH
path: "/public/rdvm/referrals/{referralId}/documents/{documentId}"
tags: ["RdvmPortal"]
---

# Update the description on a referral document (RDVM can only update their own uploads)

`PATCH /public/rdvm/referrals/{referralId}/documents/{documentId}`

## Path parameters

- `referralId` string, required
- `documentId` string, required

## Query parameters

- `sessionId` string
- `clinicId` string

## Request body

- UpdateReferralDocumentRequest
  - `description` string, nullable

## Response `200`

OK

- RdvmDocumentDto
  - `id` string
  - `referralId` string
  - `documentType` string
  - `fileName` string
  - `description` string, nullable
  - `fileSizeBytes` union
    - integer
    - string, int64
  - `mimeType` string, nullable
  - `uploadedByName` string, nullable
  - `uploadedAt` string, date-time
  - `isSent` boolean
  - `sentAt` string, date-time, nullable
  - `source` string
  - `canDelete` boolean

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/d8d7501dde48/schema)
