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

# Delete Document

`DELETE /agents/documents/{document_id}`

Delete a [knowledge base](/line/knowledge-base) document.

## Path parameters

- `document_id` string, required

## Headers

- `Cartesia-Version` '2026-03-01', date, required

## Response `204`

Document deleted.

## Other responses

- `404` — Document not found (`error_code: kb_document_not_found`).

---

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