---
title: "Delete Document"
method: DELETE
path: "/knowledge-base/document/{document_id}"
tags: ["knowledge-base"]
---

# Delete Document

`DELETE /knowledge-base/document/{document_id}`

Delete all entries and storage files for a document by document_id

## Path parameters

- `document_id` string, required — The document ID to delete

## Response `200`

200 OK

- object
  - `document_id` string

## Other responses

- `404` — Document not found

---

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