Delete Knowledge Base
DELETE /knowledge-bases/{kb_id}Irreversible, and a hard delete (§14, D-738).
Not soft: a soft-deleted base whose items were still live would keep answering through every grant that names it. Consolidation runs detach rather than cascade, so the deleted base’s maintenance spend stays visible next to the ledger.
Parameters
Section titled “Parameters”| Name | In | Type | Notes | |
|---|---|---|---|---|
kb_id | path | string (uuid) | required | — |
Responses
Section titled “Responses”| Status | Description | Body |
|---|---|---|
204 | Successful Response | — |
422 | Validation Error | HTTPValidationError |
Example
Section titled “Example”curl -X DELETE https://your-deployment.example.com/knowledge-bases/{kb_id} \ -H "Authorization: Bearer $COBRE_TOKEN"