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

# Delete a document by ID

`DELETE /v1/documents/{documentId}`

Deletes a specific document in your workspace by ID

## Path parameters

- `documentId` string, required

## Response `200`

Deleted document by ID

- DocumentDeleteResponse
  - `requestId` string
  - `resource` string
  - `deleted` boolean, required

## Other responses

- `401` — Unauthorized. User is not a member of the workspace.
- `404` — Not found. May have an incorrect URL path.
- `500` — Internal server error. Unable to delete specified document.

---

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