Knowledge base
Delete a document or folder
DELETE
Deletes a file, or a folder and everything in it, including files other members of your organization added. The stored files and their search index are deleted with it. Agents stop using deleted files.
Requires the agents:write scope.
apiKeyheader
X-API-Key<token>Your API key, from Settings → API access in the dashboard.
kb_item_id*stringFormat
uuidDeleted.
application/jsoncurl -X DELETE "https://example.com/knowledge-base/items/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "deleted": true, "id": "3d154f1e-96da-4d00-b9a7-9e35297d896d", "items_deleted": 4}