DELETE
/
v1
/
memories
/
{memory_id}
# To use the Python SDK, install the package:
# pip install mem0ai

from mem0 import MemoryClient
client = MemoryClient(api_key="your_api_key", org_id="your_org_id", project_id="your_project_id")

memory_id = "<memory_id>"
client.delete(memory_id=memory_id)
{
  "message": "Memory deleted successfully!"
}

Authorizations

Authorization
string
header
required

API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'

Path Parameters

memory_id
string
required

The unique identifier of the memory to retrieve

Response

204 - application/json
Successful deletion of memory
message
string