---
title: "Delete Document"
method: DELETE
path: "/documents/{document_id}"
tags: ["Documents"]
---

# Delete Document

`DELETE /documents/{document_id}`

Delete a document and all associated data.

This endpoint deletes a document and all its associated data, including:
- Document metadata
- Document content in storage
- Document chunks and embeddings in vector store

Args:
    document_id: ID of the document to delete
    auth: Authentication context (must have write access to the document)

Returns:
    Deletion status

## Path parameters

- `document_id` string, required

## Headers

- `authorization` string

## Response `200`

Successful Response

- DocumentDeleteResponse — Response for document deletion endpoint
  - `status` string, required
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/morphik-org/apis/fastapi.md) · [All operations](https://skmtc.dev/morphik-org/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/morphik-org/fastapi/revisions/9ade02dd7b1d/schema)
