Subscribers

Remove tags from a contact

POST /api/v1/subscribers/{id}/remove-tag

Parameters
id integer required path
The contact's id.
Request body application/x-www-form-urlencoded
tag string required
Tags, separated by commas.
Responses
200 The contact's tags now.
401 The token is missing or wrong (Unauthenticated.), or its user may not act on this object (Unauthorized). Without the Accept: application/json header, a missing or wrong token answers with a redirect to the sign-in page instead.
Remove tags from a contact
1 2 3 4
curl -X POST 'https://your-domain/api/v1/subscribers/1/remove-tag' \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  --data-urlencode 'tag=newsletter'
Response
{
    "status": 1,
    "message": "Tag was removed successfully",
    "subscriber_id": 1,
    "tags": [
        "vip"
    ]
}