Delete a knowledge base document. This removes it from storage and all agent attachments.
Cannot delete documents that are attached to agents. Detach first using the detach endpoint.
Your API key for authentication.
Path Parameters
The unique identifier of the document to delete.
Permissions
kb:delete (admin, agent_manager)
Response
Indicates if the deletion was successful.
Human-readable success message.
{
"success": true,
"message": "Document 'Product Manual' deleted successfully"
}
Errors
Document belongs to different organization.
Cannot delete - document is attached to agents. Detach it first.