Untag contacts
civicrm_untag_contactsRemove a specified tag from one or more contacts in a single API call. Supports tag by ID or name, with a limit of 500 contacts per call.
Instructions
Remove a tag from one or more contacts in a single call. Requires CIVICRM_ALLOW_WRITES=true AND CIVICRM_ALLOW_DELETES=true (EntityTag rows are hard-deleted).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Tag id (number) or tag name (string). Names are resolved to ids on the fly. | |
| contact_ids | Yes | Contact ids to tag. Bounded at 500 per call to keep one request bounded; chunk larger sets in the caller. |