Rename a contact group
update_contact_groupRename a Google Contacts group by providing its resource name and a new unique name. Pass an etag to avoid overwriting concurrent edits, or omit it to auto-fetch the current version.
Instructions
Renames a user contact group (the only mutable group attribute). Etag-guarded like contact updates: pass etag from get_contact_group to fail cleanly on a concurrent edit, or omit it and the current etag is fetched automatically (one extra read). System groups (contactGroups/myContacts, starred, ...) cannot be renamed; the new name must stay unique (409 CONFLICT otherwise). Returns the updated group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| etag | No | The group's etag from get_contact_group — omit to auto-fetch the current one. | |
| name | Yes | The new display name. | |
| resource_name | Yes | The group's full resource name, e.g. "contactGroups/12abc34d567" — from list_contact_groups. |