Skip to main content
DELETE
https://app.autocalls.ai/api/
/
user
/
knowledgebases
/
{id}
Delete knowledgebase
curl --request DELETE \
  --url https://app.autocalls.ai/api/user/knowledgebases/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Knowledgebase deleted successfully."
}
This endpoint permanently deletes a knowledgebase and all its associated documents. This action cannot be undone.

Path Parameters

id
integer
required
The unique identifier of the knowledgebase to delete

Response

message
string
Success message
{
  "message": "Knowledgebase deleted successfully."
}

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.