---
title: "POST /v1/{+customer}/policies/groups:batchModify"
method: POST
path: "/v1/{+customer}/policies/groups:batchModify"
tags: ["customers"]
---

# POST /v1/{+customer}/policies/groups:batchModify

`POST /v1/{+customer}/policies/groups:batchModify`

Modify multiple policy values that are applied to a specific group. All targets must have the same target format. That is to say that they must point to the same target resource and must have the same keys specified in `additionalTargetKeyNames`, though the values for those keys may be different. On failure the request will return the error details as part of the google.rpc.Status.

## Path parameters

- `customer` string, required

## Request body

- GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest — Request message for modifying multiple policy values for a specific group-based target.
  - `requests` GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest[] — List of policies to modify as defined by the `requests`. All requests in the list must follow these restrictions: 1. All schemas in the list must have the same root namespace. 2. All `policyTargetKey.targetResource` values must point to a group resource. 3. All `policyTargetKey` values must have the same `app_id` key name in the `additionalTargetKeys`. 4. No two modification requests can reference the same `policySchema` + ` policyTargetKey` pair.
    - `policyTargetKey` GoogleChromePolicyVersionsV1PolicyTargetKey — The key used to identify the target on which the policy will be applied.
      - `additionalTargetKeys` object — Map containing the additional target key name and value pairs used to further identify the target of the policy.
      - `targetResource` string — The target resource on which this policy is applied. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}") * Group ("groups/{group_id}")
    - `policyValue` GoogleChromePolicyVersionsV1PolicyValue — A particular value for a policy managed by the service.
      - `policySchema` string — The fully qualified name of the policy schema associated with this policy.
      - `value` object — The value of the policy that is compatible with the schema that it is associated with.
    - `updateMask` string, google-fieldmask — Required. Policy fields to update. Only fields in this mask will be updated; other fields in `policy_value` will be ignored (even if they have values). If a field is in this list it must have a value in 'policy_value'.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/chromepolicy.md) · [All operations](https://skmtc.net/google/apis/chromepolicy/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/chromepolicy/versions/25e5b64c669a/schema)
