Skip to main content
DELETE
/
api
/
memories
/
{memoryId}
Delete a memory
curl --request DELETE \
  --url https://www.memoryplugin.com/api/memories/{memoryId} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Memory deleted"
}

Overview

Delete a single memory by its ID. The memory is removed from both the database and the vector store.

Example

curl -X DELETE https://www.memoryplugin.com/api/memories/mem-abc-123 \
  -H "Authorization: Bearer YOUR_API_KEY"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

memoryId
string
required

The memory ID to delete.

Response

Memory deleted

message
enum<string>
Available options:
Memory deleted