---
title: "Delete a document and its retained customer content"
method: DELETE
path: "/v1/documents/{document_id}"
---

# Delete a document and its retained customer content

`DELETE /v1/documents/{document_id}`

## Request

- Base URL: `https://api.temlavo.com`
- URL: `https://api.temlavo.com/v1/documents/{document_id}`
- Auth: HTTP bearer

## Path parameters

- `document_id` string, required

## Response `204`

Deleted from the API, with no body. Stored results and document fields are cleared; physical storage cleanup may still be pending.

## Other responses

- `400`: Error: `invalid_request`
- `401`: Error: `invalid_api_key`
- `404`: Error: `document_not_found`
- `429`: Error: `rate_limit_exceeded`
- `500`: Error: `internal_error`

---

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