Elizon Docs
API Reference

Delete document

DELETE /api/v1/knowledge-bases/:knowledgeBaseId/documents/:documentId — remove one document.

Removes the document and its chunks from the search index.

DELETE /api/v1/knowledge-bases/{knowledgeBaseId}/documents/{documentId}

Response

204 No Content

Errors

StatuserrorWhen
403forbiddenYour key is scoped to a different project.
404not_foundNo such Knowledge Base, or no such document in it.

On this page