Skip to main content
POST
/
v1
/
tags
/
contacts
/
remove
Remove tags from contacts
curl --request POST \
  --url https://api.prod.getdex.com/v1/tags/contacts/remove \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contactIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "tagIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "error": true,
  "message": "<string>",
  "data": {
    "count": 123
  }
}

Use cases

  • Remove a tag from multiple contacts after a reclassification
  • Clean up tag assignments in bulk
  • Untag contacts that no longer match a category
This only removes the association between tags and contacts. Neither the tags nor the contacts are deleted.

Authorizations

Authorization
string
header
required

Use your Dex API key (e.g. dex_abc123...) as the Bearer token.

Body

application/json
contactIds
string<uuid>[]
required
tagIds
string<uuid>[]
required

Response

Successful response

error
boolean
required
message
string
required
data
object
required