curl --request DELETE \
--url https://api.staging.kathan.tech/knowledge-bases/{knowledge_base_id} \
--header 'Authorization: Bearer <token>' \
--header 'X-User-ID: <api-key>'{}Delete a KB (public endpoint).
Best-effort deletes S3 assets referenced in metadata, then removes DB record.
Note: DB attachments are cleaned up via FK ON DELETE CASCADE.
curl --request DELETE \
--url https://api.staging.kathan.tech/knowledge-bases/{knowledge_base_id} \
--header 'Authorization: Bearer <token>' \
--header 'X-User-ID: <api-key>'{}API key authentication.
Required user id for API key requests.
Successful Response
The response is of type Response Delete Knowledge Base Knowledge Bases Knowledge Base Id Delete · object.
Was this page helpful?