Description
delete_memory permanently removes a memory. In most cases, you do not need to call this directly — when new information contradicts an old memory, MemContext supersedes it automatically. Use delete only when explicit removal is desired.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
memoryId | string | Yes | The memory ID to delete. Use the id returned by search_memory. |
Example
Response
Returns{ success: true } on success, or a 404 error if the memory was not found.