---
title: "Delete document"
method: DELETE
path: "/v1/knowledge-bases/{kbId}/documents/{documentId}"
tags: ["Knowledge bases"]
---

# Delete document

`DELETE /v1/knowledge-bases/{kbId}/documents/{documentId}`

Deletes a specific source from a knowledge base. Other sources remain unaffected.

## Path parameters

- `kbId` string, required
- `documentId` string, required

## Response `204`

Removed.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `413` — Payload Too Large
- `415` — Unsupported Media Type
- `500` — Internal Server Error

---

[API](https://skmtc.net/sigmamind/apis/sigmamind-apis.md) · [All operations](https://skmtc.net/sigmamind/apis/sigmamind-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sigmamind/sigmamind-apis/versions/d00f52b5123f/schema)
