POST
/
v1
/
memory
/
{memory_id}
/
user
/
delete
Remove User from Memory
curl --request POST \
  --url https://api.bland.ai/v1/memory/{memory_id}/user/delete \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "phone_number": "<string>",
  "external_memory_key": "<string>"
}'
{
  "data": {
    "message": "User +1234567890 removed from memory successfully"
  },
  "errors": null
}

Headers

authorization
string
required
Your API key for authentication.

Path Parameters

memory_id
string
required
The unique identifier of the memory to remove the user from.

Body Parameters

phone_number
string
required
The phone number of the user to remove from the memory.
external_memory_key
string
Optional external key for additional memory validation or cross-referencing.

Response

data
object
Response data confirming user removal.
data.message
string
Success message confirming user was removed from memory.
errors
null
Error array (null on success).
{
  "data": {
    "message": "User +1234567890 removed from memory successfully"
  },
  "errors": null
}

⚠️ Warning

This action will permanently remove:
  • The user’s entry from the memory
  • All associated metadata for this user
  • The user’s summary and interaction history
  • All call associations for this user within this memory
The actual calls will remain in your account, but their association with this memory will be removed.