curl "https://app.tatango.com/api/v2/lists/<ID>/subscribers/<PHONE_NUMBER>/tags" -d '{"tags":["vip","customer"]}' -X DELETE \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -u emailaddress@mydomain.com:my_api_key \
  -H "Host: example.org" \
  -H "Cookie: "
{
  "status": "OK",
  "deleted": [
    "local_news",
    "sports_news"
  ],
  "not_found": [
    "celebrity_news",
    "weather_news"
  ],
  "message": "Tag removal completed with partial success."
}

This endpoint allows you to remove multiple tags from a subscriber in a single request. Tags that don’t exist on the subscriber will be reported in the response but won’t cause the request to fail.

Request URL

DELETE https://app.tatango.com/api/v2/lists/{ID}/subscribers/{PHONE_NUMBER}/tags

Authorizations

Authorization
string
header
required

Tatango authenticates API requests by validating an API key passed via HTTP Basic Authentication. Use your login email as the username and your API key as the password.

Path Parameters

ID
integer
required

ID of the list

PHONE_NUMBER
string
required

Subscriber's phone number with no special characters

Body

application/json

Response

200 - application/json

Tags deletion completed

The response is of type object.