For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remove contacts from a tag

Remove a tag from many contacts at once.

Remove contacts from a tag

delete

Remove a tag from many contacts at once.

Pass contact_uuids to target specific contacts, or all_contacts to target every contact in the profile. The work is queued, so a success response means it was accepted rather than finished. The tag itself and the contacts are not deleted.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
profileUuidstringRequired

Profile uuid parameter

Example: 550e8400-e09b-41d4-a716-400055000000
tagUuidstring · uuidRequired

Tag uuid parameter

Example: 550e8400-e29b-41d4-a716-446655440000
Body

Contacts to assign to, or remove from, a tag

contact_uuidsstring[]Optional

Contacts to apply the change to. Required unless all_contacts is true.

all_contactsbooleanOptional

Apply to every contact in the profile

Default: false
Responses
200

Success empty response

application/json
messagestringOptionalExample: Request accepted
delete/api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}/contacts
DELETE /api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}/contacts HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 47

{
  "contact_uuids": [
    "text"
  ],
  "all_contacts": false
}
{
  "message": "Request accepted"
}

Last updated

Was this helpful?