DELETE/contacts/{contact_id}/tags/{tag_id}

Remove a tag from a contact

Removes a tag from a contact. Identify the contact and tag with the contact_id and tag_id path parameters; the response returns the removed tag.

3 parameters
contact_idstringrequired
The unique identifier of the contact to remove the tag from.
tag_idstringrequired
The unique identifier of the tag to remove from the contact.
Intercom-Versionstringoptional
The Intercom API version to use; the listed values include 1.0 through 2.6. Defaults to 2.17 when omitted.
Allowed:1.01.11.21.31.42.02.12.22.32.42.52.6Default:2.17

3 status codes
200Returns the tag object removed from the contact, including its identifier, name, application time, and the admin who applied it.
typestringoptional
value is "tag"
idstringoptional
The id of the tag
namestringoptional
The name of the tag
applied_atintegeroptional
The time when the tag was applied to the object. Only present when the tag is returned as part of a tagging operation on a contact, conversation, or ticket.
applied_byobjectoptional
The admin who applied the tag. Only present when the tag is returned as part of a tagging operation on a contact, conversation, or ticket.
401Returned when the request is unauthorized.

One documented failure

  • unauthorized

    Access Token Invalid

typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
404Returned when the tag is not found.

One documented failure

  • not_found

    User Not Found

typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects

Error handling

A 401 is returned when the request is unauthorized. A 404 is returned when the tag is not found. The contact_id and tag_id path parameters must identify the contact and tag association to remove. The Intercom-Version header defaults to 2.17 when omitted.