---
title: "Delete document"
method: DELETE
path: "/api/v1/knowledge-base/documents/{document_uuid}"
tags: ["main", "knowledge-base"]
---

# Delete document

`DELETE /api/v1/knowledge-base/documents/{document_uuid}`

## Request

- Base URL: `https://app.dograh.com`
- URL: `https://app.dograh.com/api/v1/knowledge-base/documents/{document_uuid}`
- Auth: none declared

Soft delete a document and its chunks.

Access Control:
* Users can only delete documents from their organization.

## Path parameters

- `document_uuid` string, required

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-11-03** `faa00cf76fcb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dograh/apis/dograh-api/changes/api/v1/knowledge-base/documents/:document_uuid/delete.md)

---

[API](https://skmtc.dev/dograh/apis/dograh-api.md) - [All operations](https://skmtc.dev/dograh/apis/dograh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dograh/apis/dograh-api/revisions/faa00cf76fcb?raw)
