cURL
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 }
Remove a specific user/phone number and all their associated data from a memory.