Android Management API
The Android Management API provides remote enterprise management of Android devices and apps.
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 Android Management API provides remote enterprise management of Android devices and apps.
Endpoints 20
enterprises
- GETLists EMM-managed enterprises
/v1/enterprises?pageSize=0&pageToken=string&projectId=string&view=ENTERPRISE_VIEW_UNSPECIFIEDLists EMM-managed enterprises. Only BASIC fields are returned. - POSTCreates an enterprise
/v1/enterprises?agreementAccepted=true&enterpriseToken=string&projectId=string&signupUrlName=stringCreates an enterprise. This is the last step in the enterprise signup flow. See also: SigninDetail - POSTGenerates an enterprise upgrade URL to upgrade an existing managed Google Play Accounts enterprise to a managed Google…
/v1/:name:generateEnterpriseUpgradeUrlGenerates an enterprise upgrade URL to upgrade an existing managed Google Play Accounts enterprise to a managed Google domain. See the guide…
provisioningInfo
- GETGet the device provisioning information by the identifier provided in the sign-in url.
/v1/:nameGet the device provisioning information by the identifier provided in the sign-in url.
enterprises.webApps
- DELETEDeletes a web app.
/v1/:nameDeletes a web app. - PATCHUpdates a web app.
/v1/:name?updateMask=stringUpdates a web app. - GETLists web apps for a given enterprise.
/v1/:parent/webApps?pageSize=0&pageToken=stringLists web apps for a given enterprise. - POSTCreates a web app.
/v1/:parent/webAppsCreates a web app.
enterprises.devices
- POSTIssues a command to a device
/v1/:name:issueCommandIssues a command to a device. The Operation resource returned contains a Command in its metadata field. Use the get operation method to get the status of the… - GETLists devices for a given enterprise
/v1/:parent/devices?pageSize=0&pageToken=stringLists devices for a given enterprise. Deleted devices are not returned in the response.
enterprises.devices.operations
- POSTStarts asynchronous cancellation on a long-running operation
/v1/:name:cancelStarts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the…
enterprises.enrollmentTokens
- GETLists active, unexpired enrollment tokens for a given enterprise
/v1/:parent/enrollmentTokens?pageSize=0&pageToken=stringLists active, unexpired enrollment tokens for a given enterprise. The list items contain only a partial view of EnrollmentToken object. Only the following… - POSTCreates an enrollment token for a given enterprise
/v1/:parent/enrollmentTokensCreates an enrollment token for a given enterprise. It's up to the caller's responsibility to manage the lifecycle of newly created tokens and deleting them…
enterprises.migrationTokens
- GETLists migration tokens.
/v1/:parent/migrationTokens?pageSize=0&pageToken=stringLists migration tokens. - POSTCreates a migration token, to migrate an existing device from being managed by the EMM's Device Policy Controller…
/v1/:parent/migrationTokensCreates a migration token, to migrate an existing device from being managed by the EMM's Device Policy Controller (DPC) to being managed by the Android…
enterprises.policies
- GETLists policies for a given enterprise.
/v1/:parent/policies?pageSize=0&pageToken=stringLists policies for a given enterprise. - POSTUpdates or creates applications in a policy.
/v1/:name:modifyPolicyApplicationsUpdates or creates applications in a policy. - POSTRemoves applications in a policy.
/v1/:name:removePolicyApplicationsRemoves applications in a policy.
enterprises.webTokens
- POSTCreates a web token to access an embeddable managed Google Play web UI for a given enterprise.
/v1/:parent/webTokensCreates a web token to access an embeddable managed Google Play web UI for a given enterprise.
signupUrls
- POSTCreates an enterprise signup URL.
/v1/signupUrls?adminEmail=string&allowedDomains=string&callbackUrl=string&projectId=stringCreates an enterprise signup URL.
API details
- Base URL
https://androidmanagement.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter - Operations
- 20 operations on 14 pathsPOST 11GET 7PATCH 1DELETE 1
- Main resources
- enterprises.webApps 4enterprises 3enterprises.policies 3enterprises.devices 2enterprises.enrollmentTokens 2enterprises.migrationTokens 2enterprises.devices.operations 1enterprises.webTokens 1provisioningInfo 1signupUrls 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 Android Management 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 Android Management API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Lists EMM-managed enterprises” (GET /v1/enterprises?pageSize=0&pageToken=string&projectId=string&view=ENTERPRISE_VIEW_UNSPECIFIED), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Android Management API?
The Android Management API provides remote enterprise management of Android devices and apps. It is listed under Developer tools and has 20 endpoints.
Who publishes the Android Management 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 Android Management API?
Requests go to https://androidmanagement.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Android Management API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the key query parameter.
How many endpoints does the Android Management API have?
20 operations on 14 paths (11 POST, 7 GET, 1 PATCH, 1 DELETE). The largest groups are enterprises.webApps, enterprises, enterprises.policies, enterprises.devices.
Is forking the Android Management API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.