← Tags

Remove Tags

Remove one or more tags from an existing contact. Tags that do not exist on the contact are silently ignored.

DELETE/contacts/:contactId/tags
Scope
contacts.write
Auth Method
Bearer Token
Token Type
Sub-Account / Company

Header Parameters

ParameterTypeDescription
AuthorizationrequiredstringBearer {access_token}
VersionrequiredstringAPI Version
Possible values: 2021-07-28
Content-Typerequiredstringapplication/json

Path Parameters

ParameterTypeDescription
contactIdrequiredstringThe unique ID of the contact to remove tags from.

Body Parameters

ParameterTypeDescription
tagsrequiredstring[]An array of tag names to remove from the contact. Tags not present on the contact are silently ignored.
Example RequestcURL
curl -X DELETE \
  'https://services.leadconnectorhq.com/contacts/{contactId}/tags' \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
    "tags": ["newsletter", "austin-tx"]
  }'

Response — 200 OK

Example ResponseJSON
{
  "tags": ["newsletter", "austin-tx"]
}

Safe Operation

Removing tags does not delete the contact or any other data. If you pass a tag that is not currently on the contact, the API will ignore it and return a successful response.