---
title: "POST /v1/customers/{customersId}/policies:resolve"
method: POST
path: "/v1/customers/{customersId}/policies:resolve"
tags: ["customers"]
---

# POST /v1/customers/{customersId}/policies:resolve

`POST /v1/customers/{customersId}/policies:resolve`

## Request

- Base URL: `https://chromepolicy.googleapis.com`
- URL: `https://chromepolicy.googleapis.com/v1/customers/{customersId}/policies:resolve`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/chrome.management.policy`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/chrome.management.policy`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/chrome.management.policy.readonly`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/chrome.management.policy.readonly`
- TypeScript: <https://skmtc.dev/google/apis/chromepolicy/docs/v1/customers/:customersId/policies:resolve/post.ts> (a function with typed inputs; its response is checked against the schema)

Gets the resolved policy values for a list of policies that match a search query.

## Path parameters

- `customersId` string, required

## Request body

- GoogleChromePolicyVersionsV1ResolveRequest: Request message for getting the resolved policy value for a specific target.
  - `pageSize` integer: The maximum number of policies to return, defaults to 100 and has a maximum of 1000.
  - `pageToken` string: The page token used to retrieve a specific page of the request.
  - `policySchemaFilter` string: Required. The schema filter to apply to the resolve request. Specify a schema name to view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf portion of the schema name. Wildcards cannot be used in namespace directly. Please read https://developers.google.com/chrome/policy/guides/policy-schemas for details on schema namespaces. For example: Valid: "chrome.users.*", "chrome.users.apps.*", "chrome.printers.*" Invalid: "*", "*.users", "chrome.*", "chrome.*.apps.*"
  - `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

- GoogleChromePolicyVersionsV1ResolveResponse: Response message for getting the resolved policy value for a specific target.
  - `nextPageToken` string: The page token used to get the next set of resolved policies found by the request.
  - `resolvedPolicies` GoogleChromePolicyVersionsV1ResolvedPolicy[]: The list of resolved policies found by the resolve request.
    - `addedSourceKey` 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}")
    - `sourceKey` 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}")
    - `targetKey` 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}")
    - `value` 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.

---

[API](https://skmtc.dev/google/apis/chromepolicy.md) - [All operations](https://skmtc.dev/google/apis/chromepolicy/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/chromepolicy/revisions/c9f2e6e8732d?raw)
