Contacts API
Delete

Delete contact

To delete a contact, you must pass either the contact's email address or user ID.

[DELETE] /v1/contacts/delete

Request

Body


user_emailstringrequiredThe email address of the contact.

user_idstringThe user ID of the contact. Note that if you are not passing user_email, this field is required.

Example request

curl -X DELETE https://www.loopbear.com/api/v1/contacts/delete \
-H "Content-Type: application/json" \
-H "X-Api-Key: YOUR_SECRET_KEY" \
-d '{
  "user_email": "johndoe@gmail.com",
}'