Delete a knowledge base (and its documents)
DELETE/v1/knowledge-bases/:kb_id
Permanently delete a knowledge base along with every document and embedding chunk it holds.
This cannot be undone, and any workflow node or agent skill pointing at the knowledge base will start reporting it as missing. Delete individual documents instead if you only want to prune content. System and shared knowledge bases cannot be deleted.
Requires the knowledge:write scope.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
Successful Response
Error
Error
Error
Error
Validation Error
Error