Tags
Set An Account's Tags
Add, remove, or replace the tags on one account
PUT
One endpoint, three verbs, chosen with
mode. The response is the account’s
tags read back after the write, not an echo of what you sent: a
single-select group may have swapped out a tag you did not mention.
Path Parameters
string
required
The account’s
company_id (the company UUID), from
List Accounts.Body
string[]
required
Tag ids from a group whose
subject_type is account, from
List Tag Groups.string
default:"replace"
replaceleaves the account carrying exactlytag_ids(withingroup_idwhen you send one). This is the picker’s verb.addkeeps the account’s other tags. This is the verb for an automation: it knows the one tag it means and must not drop what a person put there.removetakes these tags off and leaves the rest.
string
Narrows a
replace to one group, so replacing a Segment tag leaves every
other group alone. Without it, replace means the account’s whole set.A single-select group swaps rather than stacks. Adding a second tag from a
single group replaces the one already there, which is what makes a status
behave like a status.