Removes the association between a document and an agent. The document itself is not deleted. SuperMemory cleanup is handled asynchronously.
cURL
curl --request DELETE \ --url https://api.vocobase.com/api/v2/agent/{agentId}/documents/{documentId} \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "message": "Document unlinked from agent" } }
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
rg_live_xxxx
Agent ID.
Document ID to unlink.
Document unlinked.
Show child attributes