v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132372111.9 KB
contactGroups

Update the name of an existing contact group owned by the authenticated user. Updated contact group names must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.

put/v1/{+resourceName}

Path parameters

resourceNamestring required

The resource name for the contact group, assigned by the server. An ASCII string, in the form of contactGroups/{contact_group_id}.

Request body

updateGroupFieldsstring google-fieldmask

Optional. A field mask to restrict which fields on the group are updated. Multiple fields can be specified by separating them with commas. Defaults to name if not set or set to empty. Updated fields are replaced. Valid values are: * clientData * name

readGroupFieldsstring google-fieldmask

Optional. A field mask to restrict which fields on the group are returned. Defaults to metadata, groupType, and name if not set or set to empty. Valid fields are: * clientData * groupType * memberCount * metadata * name

Response

Successful response