---
title: "Delete a document uploaded by the RDVM (can only delete own uploads)"
method: DELETE
path: "/public/rdvm/referrals/{referralId}/documents/{documentId}"
tags: ["RdvmPortal"]
---

# Delete a document uploaded by the RDVM (can only delete own uploads)

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

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/public/rdvm/referrals/{referralId}/documents/{documentId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/public/rdvm/referrals/:referralId/documents/:documentId/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

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

## Query parameters

- `sessionId` string
- `clinicId` string

## Response `204`

No Content

## Other responses

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

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
