zoxaAI
Homepage
API ReferenceKnowledge Base

Delete a document

DELETE /api/v1/knowledge-base/documents/{document_uuid} — soft-delete a document and its chunks.

DELETE /api/v1/knowledge-base/documents/{document_uuid}

Soft-delete a document. The chunks are removed from retrieval immediately.

Response

{ "success": true, "message": "Document deleted successfully" }

Examples

curl -X DELETE https://dashboard.zoxa.ai/api/v1/knowledge-base/documents/abc12345-... \
  -H "X-API-Key: zsk_..."

Errors

StatusdetailWhen
404"Document not found"UUID not in your org.

On this page