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

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

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

Modify multiple policy values that are applied to a specific org unit. 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

- GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest — Request message for modifying multiple policy values for a specific target.
  - `requests` GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest[] — 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 an org unit resource. 3. All `policyTargetKey` values must have the same key names in the ` additionalTargetKeys`. This also means if one of the targets has an empty `additionalTargetKeys` map, all of the targets must have an empty `additionalTargetKeys` map. 4. No two modification requests can reference the same `policySchema` + ` policyTargetKey` pair.
    - `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'.
    - `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}")

## 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)
