Skip to main content
Use this endpoint when you need to surgically remove one specific memory — for example, to correct a mistakenly stored fact or honour a targeted deletion request. You must supply the user_id and agent_id that own the memory; the API will not delete memories belonging to a different user, which prevents accidental cross-user data loss.
Endpoint: DELETE https://api.remem.online/memories/{memory_id}

Request Headers

Path Parameters

string
required
UUID of the memory to delete. Obtain this from a previous store, search, or list response.

Query Parameters

string
required
Must match the user_id that owns this memory.
string
required
Must match the agent_id that stored this memory.

Examples

Response

200 — Memory Deleted

Memory Not Found

integer
1 if the memory was removed, 0 if the ID does not exist or belongs to a different user/agent pair.
string
Human-readable confirmation of the outcome.
The endpoint always returns HTTP 200, even when no memory was removed. A deleted: 0 result means the supplied ID does not exist or belongs to a different user/agent pair. This makes it safe to call without first checking whether the memory exists.

Error Responses