Python
Memory APIs
Batch Delete Memories
Delete multiple memories in a single batch request using the Mem0 API DELETE endpoint.
DELETE
Python
Authorizations
API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'
Body
application/json
Array of memory IDs to delete.
Maximum array length:
1000Response
Successfully deleted memories
Example:
"Successfully deleted 2 memories"