---
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-05-28** `d0bce562bffd` — 9 warning
  - added the new `CONFLICT` enum value to the `code` response property for the response status `409`
  - added the new `EMAIL_OTP_CREDENTIAL_SET_CHANGED` enum value to the `code` response property for the response status `409`
  - added the new `EMAIL_OTP_EMAIL_ALREADY_EXISTS` enum value to the `code` response property for the response status `409`
  - added the new `REQUEST_ID_MISSING` enum value to the `code` response property for the response status `401`
  - …5 more
- **2026-04-27** `5b8a8161eeb3` — 1 info
  - endpoint added

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

---

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