Remove a specific memory document from the specified namespace. Provide exactly one of namespace_id or external_reference_id.
namespace_id
external_reference_id
cURL
curl --request POST \ --url https://api.deyta.ai/gateway/v1/forget \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "document_id": "<string>", "namespace_id": "<string>", "external_reference_id": "<string>" } '
{ "success": true, "data": {} }
API key obtained from the Deyta Console
ID of the memory document to delete.
1
Namespace ID. Required if external_reference_id is not provided.
External reference ID to resolve namespace. Required if namespace_id is not provided.
Memory deleted successfully
true
Confirmation of deletion.