Marks a knowledge base as deleted by setting its status to "DELETED"
. This is a soft delete operation - the knowledge base data is retained but becomes inaccessible for normal operations.
Your API key for authentication.
Path Parameters
The unique identifier of the knowledge base to delete.
Response
Deletion confirmation object. Always true
when the deletion is successful.
Confirmation message about the deletion.
The ID of the deleted knowledge base.
Will be null
on successful deletion.
curl -X DELETE https://api.bland.ai/v1/knowledge/kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T \
-H "authorization: YOUR_API_KEY"
Success Response
Not Found Response
{
"data" : {
"success" : true ,
"message" : "Knowledge base successfully deleted" ,
"knowledge_base_id" : "kb_01H8X9QK5R2N7P3M6Z8W4Y1V5T"
},
"errors" : null
}