Knowledge Base
Delete Document
Queue an async delete for a knowledge base document.
Required Scopes: knowledge_base:delete
Async pipeline (B-4):
- The row is flipped to status='deleting' with a fresh job_id.
- A kb_delete_file Pub/Sub message is published.
- The KB administration worker performs the RAG file delete and then removes the row. Poll GET /jobs/{job_id} to observe completion.
delete/api/v1/knowledge-base/documents/{document_id}
Request
- Base URL: https://api.sendseven.com
- URL: https://api.sendseven.com/api/v1/knowledge-base/documents/{document_id}
- Auth: HTTP bearer
Path parameters
document_idstring required
Response
Successful Response
Example response
{
"message": "Document deleted",
"success": true
}Changes
No recorded changes to this operation across all 3 revisions of this API.