---
title: "Delete a knowledge document"
method: DELETE
path: "/knowledge/{id}"
tags: ["Knowledge"]
---

# Delete a knowledge document

`DELETE /knowledge/{id}`

Permanently deletes a knowledge document, its extracted content, and its search vectors.

## Path parameters

- `id` string, required

## Response `204`

The knowledge document was deleted.

## Other responses

- `400` — The request parameters are invalid.
- `401` — The Agent API key is missing, invalid, or revoked.
- `403` — The API key does not have the required permission.
- `404` — The resource does not exist for the authenticated agent.
- `429` — Too many requests. Retry after the number of seconds in Retry-After.
- `500` — The request failed unexpectedly.
- `503` — The API is temporarily unavailable. The request was not processed.

---

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