DELETE
/tags/{tag_id}Delete a tag
Deletes a tag from the workspace. Use the tag_id path parameter to identify the tag to delete; a tag with dependent objects cannot be deleted.
tag_idstringrequired
The unique identifier of the tag to delete.
Intercom-Versionstringoptional
The Intercom API version to use. Defaults to 2.17 when omitted.
200Confirms that the tag was deleted.
400Returned when the tag has dependent objects and cannot be deleted.
One documented failure
tag_has_dependent_objectsUnable to delete Tag with dependent objects. Segments: Seg 1.
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
401Returned when the request is unauthorized.
One documented failure
unauthorizedAccess 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 does not exist.
One documented failure
not_foundResource Not Found
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
Error handling
A 400 is returned when the tag has dependent objects and cannot be deleted. A 401 is returned when the request is unauthorized, and a 404 is returned when the tag_id path parameter does not identify an existing tag. The Intercom-Version header selects the API version and defaults to 2.17 when omitted.