---
title: "POST /v1/{+resourceName}/members:modify"
method: POST
path: "/v1/{+resourceName}/members:modify"
tags: ["contactGroups"]
---

# POST /v1/{+resourceName}/members:modify

`POST /v1/{+resourceName}/members:modify`

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.

## Path parameters

- `resourceName` string, required

## Request body

- ModifyContactGroupMembersRequest — A request to modify an existing contact group's members. Contacts can be removed from any group but they can only be added to a user group or "myContacts" or "starred" system groups.
  - `resourceNamesToAdd` string[] — 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.
  - `resourceNamesToRemove` string[] — 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 `200`

Successful response

---

[API](https://skmtc.net/google/apis/people.md) · [All operations](https://skmtc.net/google/apis/people/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/people/revisions/92b2f44f6227/schema)
