---
title: "Delete documents"
method: POST
path: "/v1/namespaces/{namespace}/documents/delete"
tags: ["Documents"]
---

# Delete documents

`POST /v1/namespaces/{namespace}/documents/delete`

Deletes documents from a namespace by their IDs.

## Request body

- DeleteDocumentsRequest
  - `document_ids` string[], required

## Response `200`

Successful response

- DeleteDocumentsResponse
  - `documents_deleted` integer, required

## Other responses

- `401` — Missing or invalid API key.

## Changes

- **2026-04-13** `ee3554910b7d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/charcoalhq/apis/charcoal-api/changes/v1/namespaces/:namespace/documents/delete/post.md)

---

[API](https://skmtc.dev/charcoalhq/apis/charcoal-api.md) · [All operations](https://skmtc.dev/charcoalhq/apis/charcoal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/charcoalhq/charcoal-api/revisions/eee9850f4746/schema)
