Skip to main content
DELETE
/
memories
Delete Multiple Memories
curl --request DELETE \
  --url https://api.example.com/memories \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "memory_ids": [
    "<string>"
  ],
  "user_id": "<string>"
}
'
{
  "detail": "Bad request",
  "error_code": "BAD_REQUEST"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

db_id
string | null

Database ID to use for deletion

table
string | null

Table to use for deletion

Body

application/json
memory_ids
string[]
required

List of memory IDs to delete

Minimum array length: 1
user_id
string | null

User ID to filter memories for deletion

Response

Memories deleted successfully