Chrome Policy API
The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome…
Developer tools#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome browsers.
Endpoints 14
customers.policies
- POSTGets the resolved policy values for a list of policies that match a search query.
/v1/:customer/policies:resolveGets the resolved policy values for a list of policies that match a search query.
customers.policies.groups
- POSTDelete multiple policy values that are applied to a specific group
/v1/:customer/policies/groups:batchDeleteDelete 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… - POSTModify multiple policy values that are applied to a specific group
/v1/:customer/policies/groups:batchModifyModify 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… - POSTRetrieve a group priority ordering for an app
/v1/:customer/policies/groups:listGroupPriorityOrderingRetrieve a group priority ordering for an app. The target app must be supplied in additionalTargetKeyNames in the PolicyTargetKey. On failure the request will… - POSTUpdate a group priority ordering for an app
/v1/:customer/policies/groups:updateGroupPriorityOrderingUpdate a group priority ordering for an app. The target app must be supplied in additionalTargetKeyNames in the PolicyTargetKey. On failure the request will…
customers.policies.networks
- POSTCreates a certificate at a specified OU for a customer.
/v1/:customer/policies/networks:defineCertificateCreates a certificate at a specified OU for a customer. - POSTDefine a new network.
/v1/:customer/policies/networks:defineNetworkDefine a new network. - POSTRemove an existing certificate by guid.
/v1/:customer/policies/networks:removeCertificateRemove an existing certificate by guid. - POSTRemove an existing network by guid.
/v1/:customer/policies/networks:removeNetworkRemove an existing network by guid.
customers.policies.orgunits
- POSTModify multiple policy values that are applied to a specific org unit so that they now inherit the value from a parent…
/v1/:customer/policies/orgunits:batchInheritModify multiple policy values that are applied to a specific org unit so that they now inherit the value from a parent (if applicable). All targets must have… - POSTModify multiple policy values that are applied to a specific org unit
/v1/:customer/policies/orgunits:batchModifyModify 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…
customers.policySchemas
- GETGet a specific policy schema for a customer by its resource name.
/v1/:nameGet a specific policy schema for a customer by its resource name. - GETGets a list of policy schemas that match a specified filter value for a given customer.
/v1/:parent/policySchemas?filter=string&pageSize=0&pageToken=stringGets a list of policy schemas that match a specified filter value for a given customer.
media
- POSTCreates an enterprise file from the content provided by user
/v1/:customer/policies/files:uploadPolicyFileCreates an enterprise file from the content provided by user. Returns a public download url for end user.
API details
- Base URL
https://chromepolicy.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 2 scopes
An API key in the key query parameter - Operations
- 14 operations on 14 pathsPOST 12GET 2
- Main resources
- customers.policies.groups 4customers.policies.networks 4customers.policies.orgunits 2customers.policySchemas 2customers.policies 1media 1
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Chrome Policy API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Chrome Policy API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 2 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Gets the resolved policy values for a list of policies that match a search query.” (POST /v1/:customer/policies:resolve), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Chrome Policy API?
The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome… It is listed under Developer tools and has 14 endpoints.
Who publishes the Chrome Policy API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Chrome Policy API?
Requests go to https://chromepolicy.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Chrome Policy API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 2 scopes; an API key in the key query parameter.
How many endpoints does the Chrome Policy API have?
14 operations on 14 paths (12 POST, 2 GET). The largest groups are customers.policies.groups, customers.policies.networks, customers.policies.orgunits, customers.policySchemas.
Is forking the Chrome Policy API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.