Remove contact from group
civicrm_remove_from_groupRemove a contact from a CiviCRM group by setting status to 'Removed', preserving history without hard deletion.
Instructions
Mark a contact as Removed from a group (GroupContact status='Removed'). Preserves history — does not hard-delete. Requires CIVICRM_ALLOW_WRITES=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | CiviCRM group id (not title). | |
| contact_id | Yes |