---
title: "Delete an uploaded file"
method: DELETE
path: "/v1/documents/collections/{collection_id}/upload/{uploaded_file_id}/"
tags: ["Document Collections"]
---

# Delete an uploaded file

`DELETE /v1/documents/collections/{collection_id}/upload/{uploaded_file_id}/`

## Request

- Base URL: `https://prod.truv.com`
- URL: `https://prod.truv.com/v1/documents/collections/{collection_id}/upload/{uploaded_file_id}/`
- Auth: API key in header `X-Access-Client-Id` and API key in header `X-Access-Secret`

The endpoint soft-deletes a specific uploaded file from a collection. The file is marked as deleted but not physically removed from storage.

## Response `204`

No Content

## Other responses

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

---

[API](https://skmtc.dev/truv/apis/truv-api.md) - [All operations](https://skmtc.dev/truv/apis/truv-api/llms.txt) - [OpenAPI document](https://skmtc.dev/truv/apis/truv-api/revisions/e20fd88e9371?raw)
