ResoneraDocs
Knowledge base

Delete a document or folder

DELETE
/knowledge-base/items/{kb_item_id}

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.

Authorization

apiKey
headerX-API-Key<token>

Your API key, from Settings → API access in the dashboard.

Path Parameters

kb_item_id*string
Formatuuid

Response Body

Deleted.

application/json
curl -X DELETE "https://example.com/knowledge-base/items/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "deleted": true,  "id": "3d154f1e-96da-4d00-b9a7-9e35297d896d",  "items_deleted": 4}