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

# Delete document

`DELETE /v1/documents/{documentId}`

Delete a document (move to Trash)

## Path parameters

- `documentId` string, required

## Response `200`

Document deleted successfully

- SuccessResponse
  - `success` boolean

## Other responses

- `404` — Not Found Possible error messages: - `Document with identifier "<documentId>" not found`
- `429` — Too Many Requests - Rate limit exceeded (60 requests/minute)

---

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