---
title: "Delete a document"
method: DELETE
path: "/documents/{document_id}"
tags: ["Documents"]
---

# Delete a document

`DELETE /documents/{document_id}`

Delete a document. Before a document can be deleted, it must have a deletion_reason explaining why the document was deleted. Use the [PATCH endpoint](ref:updatedocument) to set the `deletion_reason` property.

## Path parameters

- `document_id` string, uuid, required

## Response `200`

Updated document properties.

- DeleteResponse — Deleted object information
  - `id` string, uuid — Object ID
  - `resource` string — The resource name

## Other responses

- `401` — Unauthorized
- `403` — Forbidden error
- `404` — Resource not found
- `422` — Unprocessable entity request response
- `500` — Internal server error

---

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