---
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-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/483d0a08414b/schema)
