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

# Delete a document

`DELETE /documents/{documentId}`

Delete an uploaded document. This cannot be undone. Documents that have already been submitted for verification may not be deletable.

## Path parameters

- `documentId` string, required

## Response `204`

Document deleted successfully

## Other responses

- `401` — Unauthorized
- `404` — Document not found
- `409` — Conflict - Document cannot be deleted (already submitted for verification)
- `500` — Internal service error

## Changes

- **2026-08-11** `b06902b6595a` — 3 warning
  - added the new `CARD_ALREADY_CLOSED` enum value to the `code` response property for the response status `409`
  - added the new `CARD_NOT_MUTABLE` enum value to the `code` response property for the response status `409`
  - added the new `INVALID_STATE_TRANSITION` enum value to the `code` response property for the response status `409`
- **2026-07-31** `b21ed434ee6e` — 2 warning
  - added the new `BENEFICIARY_TRUSTED` enum value to the `code` response property for the response status `409`
  - added the new `SCA_SESSION_REQUIRED` enum value to the `code` response property for the response status `409`
- **2026-07-26** `094458a989d2` — 1 warning
  - added the new `TRANSACTION_NOT_CANCELLABLE` enum value to the `code` response property for the response status `409`
- **2026-07-21** `483d0a08414b` — 1 warning
  - added the new `PASSKEY_ALREADY_ENROLLED` enum value to the `code` response property for the response status `409`

[Change history](https://skmtc.dev/stainless-api/apis/grid-api/changes/documents/:documentId/delete.md)

---

[API](https://skmtc.dev/stainless-api/apis/grid-api.md) · [All operations](https://skmtc.dev/stainless-api/apis/grid-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stainless-api/grid-api/revisions/aaa1fb8782c8/schema)
