v1

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

Modify the members of a contact group owned by the authenticated user. The only system contact groups that can have members added are contactGroups/myContacts and contactGroups/starred. Other system contact groups are deprecated and can only have contacts removed.

post/v1/{+resourceName}/members:modify

Path parameters

resourceNamestring required

Required. The resource name of the contact group to modify.

Request body

resourceNamesToAddstring[]

Optional. The resource names of the contact people to add in the form of people/{person_id}. The total number of resource names in resource_names_to_add and resource_names_to_remove must be less than or equal to 1000.

resourceNamesToRemovestring[]

Optional. The resource names of the contact people to remove in the form of people/{person_id}. The total number of resource names in resource_names_to_add and resource_names_to_remove must be less than or equal to 1000.

Response

Successful response