Agents Platform
Delete Knowledge Base Document Or Folder
Delete a document or folder from the knowledge base.
DELETE
Delete Knowledge Base Document Or Folder
Headers
Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.
Path Parameters
The id of a document from the knowledge base. This is returned on document addition.
Example:
"21m00Tcm4TlvDq8ikWAM"
Query Parameters
If set to true, the document or folder will be deleted regardless of whether it is used by any agents and it will be removed from the dependent agents. For non-empty folders, this will also delete all child documents and folders.
Response
Successful Response