Skip to main content
TagsVersion: v3

Remove Tags

DEL/contacts/{contactId}/tags

Removes tags from a contact. Tags are lower-cased before they are matched against the contact. Tags the contact does not have are ignored.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:contacts.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version. Send v3.

Available optionsv3
Example:v3

Path Parameters

contactIdstringrequired

Contact Id

Example:ve9EPM428h8vShlRW1KT

Body

tagsstring[]required

List of tags to add or remove

Example:["minim","velit magna"]

Response

Successful response

tagsstring[]required

Tags left on the contact after the operation

Example:["vip"]
tagsRemovedstring[]required

Tags from the request that were on the contact and were removed by this request. Tags that were not on the contact are left out, so this is empty when nothing changed. The tags stay on the location.

Example:["newsletter"]