Path Parameters
knowledgebaseIdinteger required
The unique identifier of the knowledgebase
documentId integer required
The unique identifier of the document to delete
Response
messagestring
Success message
200 Response
404 Knowledgebase Not Found
404 Document Not Found
500 Error
What Gets Deleted
When you delete a document:- Document record is removed from the database
- Vector embeddings are deleted from the vector database
- Processed content is removed from external document stores
- Parent knowledgebase status is updated automatically
If this was the last document in the knowledgebase, the knowledgebase status will change to
empty.
