Skip to main content
DELETE
/
api
/
v1
/
memories
/
{memory_id}
Delete Memory
curl --request DELETE \
  --url https://api.example.com/api/v1/memories/{memory_id} \
  --header 'Authorization: Bearer <token>'
{
  "memory_id": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

X-Workspace-Id
string | null

The workspace ID

Path Parameters

memory_id
string
required

Query Parameters

user_id
string | null

User ID

Response

Successful Response

Schema for memory deletion response.

memory_id
string
required

ID of the deleted memory.

message
string
required

Success message.