Delete a knowledge base
Delete a knowledge base.
400 is returned when the knowledge base is still linked to an agent:
"This knowledge base is connected to an agent. Please detach it from the agent before deleting."
Detach the KB from all agents (via agent config) before attempting deletion.
Authentication
AuthorizationBearer
API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.
Path parameters
id
The ID of the knowledge base
Response
Knowledge base deleted successfully
status
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error

