Actions23
- Container Actions
- Conversation Actions
- Document Actions
- Memory Actions
- Profile Actions
- Search Actions
Memory → Delete
AI-generatedSummary
Delete a memory entry from Supermemory
Inputs
- containerTag (required) — The space/container identifier to scope the operation
- identifyBy — How to identify the memory to delete: 'id' for Memory ID or 'content' for content match (default: 'id')
- memoryId (required) — The memory entry identifier (e.g. mem_abc123). Shown when identifyBy is 'id'.
- content (required) — Exact content match of the memory to delete. Shown when identifyBy is 'content'.
- additionalFields — Additional fields for the delete operation. Options include 'reason' (string) for a reason for forgetting the memory.
Output shape
API response body, typically confirming deletion
Returns the raw response from DELETE /v4/memories
Examples
Example 1: Delete by memory ID
containerTag='user_123', identifyBy='id', memoryId='mem_abc456'
Example 2: Delete by content match
containerTag='project_x', identifyBy='content', content='I remember that day...'