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

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

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

Update a group priority ordering for an app. The target app must be supplied in `additionalTargetKeyNames` in the PolicyTargetKey. On failure the request will return the error details as part of the google.rpc.Status.

## Path parameters

- `customer` string, required

## Request body

- GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest — Request message for updating the group priority ordering of an app.
  - `groupIds` string[] — Required. The group IDs, in desired priority ordering.
  - `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}")
  - `policySchema` string — The schema name of the policy for the request.
  - `policyNamespace` string — The namespace of the policy type for the request.

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