API Reference
Delete knowledgebase
Delete a knowledgebase and all its documents
On this page
This endpoint permanently deletes a knowledgebase and all its associated documents. This action cannot be undone.
Path Parameters
idintegerrequired
The unique identifier of the knowledgebase to delete
Response
messagestring
Success message
{
"message": "Knowledgebase deleted successfully."
}
{
"error": "Knowledgebase not found."
}
What Gets Deleted
When you delete a knowledgebase:
- All documents in the knowledgebase are permanently deleted
- Vector embeddings are removed from the vector database
- Document store data is cleaned up from external services
What Happens to Attached Assistants
Any assistants that were using this knowledgebase will have their knowledgebase reference removed. They will continue to function but without the knowledgebase context.
This action is irreversible. All documents and their processed content will be permanently deleted. Make sure you want to delete this knowledgebase before proceeding.
Related guides
API Reference
Introduction
Welcome to the VoxLink API
Read guide →API Reference
Authentication
Learn how to authenticate your API requests
Read guide →API Reference
Get current user
Get the authenticated user's profile information
Read guide →API Reference
List assistants
List all assistants for the authenticated user with pagination
Read guide →