Forget a memory
memories.forget(MemoryForgetParams**kwargs) -> MemoryForgetResponse
DELETE/v4/memories
Forget (soft delete) a memory entry. The memory is marked as forgotten but not permanently deleted.
Forget a memory
import os
from supermemory import Supermemory
client = Supermemory(
api_key=os.environ.get("SUPERMEMORY_API_KEY"), # This is the default and can be omitted
)
response = client.memories.forget(
container_tag="user_123",
)
print(response.id){
"id": "mem_abc123",
"forgotten": true
}Returns Examples
{
"id": "mem_abc123",
"forgotten": true
}