Delete Knowledge Base Document By Id
REST API - Knowledge
Delete Knowledge Base Document
Delete a specific document from a knowledge base
DELETE
Delete Knowledge Base Document By Id
Permanently remove a document from a knowledge base. This deletes the document file, all extracted chunks, and vector embeddings.Documentation Index
Fetch the complete documentation index at: https://docs.xpander.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Unique identifier of the knowledge base (UUID format)
Unique identifier of the document to delete (UUID format)
Response
Returns202 Accepted on successful deletion.
Example Request
Example Response
Notes
- This action cannot be undone
- All vector embeddings for this document will be removed from search
- Agents using this knowledge base will no longer have access to this document’s content
- The document file itself is permanently deleted from storage
- Returns 404 if the document or knowledge base is not found

