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

# Delete a document

`DELETE /v1/documents/{id}`

Deletes a document and all its associated nodes (cascade delete).

## Path parameters

- `id` string, required

## Response `200`

Document deleted successfully

- object
  - `deleted` boolean
  - `document_id` string

## Other responses

- `404` — Document not found
- `500` — Storage error

---

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