Skip to main content
DELETE
Permanently remove a document from your organization’s knowledge base. This operation deletes the stored file from Cloudflare R2 / AWS S3, purges all associated text chunks and embeddings from the vector database, and removes the document record.

Authentication

This endpoint requires Bearer token authentication.

Input parameters

string
required
Unique UUID identifier of the document to delete. Example: c5d1e2f3-4a5b-6c7d-8e9f-0123456789ab.
string
required
Bearer token for authentication. Format: Bearer <token>.

Response Fields

string
Confirmation response: "Document deleted successfully.".


Previous
Knowledge Base Overview
Back to Knowledge Base hub
Overview