Android Management API

The Android Management API provides remote enterprise management of Android devices and apps.

Service: androidmanagement.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://androidmanagement.googleapis.com

REST Resource: v1.enterprises

Methods
create POST /v1/enterprises
Creates an enterprise.
delete DELETE /v1/{name=enterprises/*}
Permanently deletes an enterprise and all accounts and data associated with it.
get GET /v1/{name=enterprises/*}
Gets an enterprise.
list GET /v1/enterprises
Lists EMM-managed enterprises.
patch PATCH /v1/{name=enterprises/*}
Updates an enterprise.

REST Resource: v1.enterprises.applications

Methods
get GET /v1/{name=enterprises/*/applications/*}
Gets info about an application.

REST Resource: v1.enterprises.devices

Methods
delete DELETE /v1/{name=enterprises/*/devices/*}
Deletes a device.
get GET /v1/{name=enterprises/*/devices/*}
Gets a device.
issueCommand POST /v1/{name=enterprises/*/devices/*}:issueCommand
Issues a command to a device.
list GET /v1/{parent=enterprises/*}/devices
Lists devices for a given enterprise.
patch PATCH /v1/{name=enterprises/*/devices/*}
Updates a device.

REST Resource: v1.enterprises.devices.operations

Methods
cancel POST /v1/{name=enterprises/*/devices/*/operations/*}:cancel
Starts asynchronous cancellation on a long-running operation.
get GET /v1/{name=enterprises/*/devices/*/operations/*}
Gets the latest state of a long-running operation.
list GET /v1/{name=enterprises/*/devices/*/operations}
Lists operations that match the specified filter in the request.

REST Resource: v1.enterprises.enrollmentTokens

Methods
create POST /v1/{parent=enterprises/*}/enrollmentTokens
Creates an enrollment token for a given enterprise.
delete DELETE /v1/{name=enterprises/*/enrollmentTokens/*}
Deletes an enrollment token.
get GET /v1/{name=enterprises/*/enrollmentTokens/*}
Gets an active, unexpired enrollment token.
list GET /v1/{parent=enterprises/*}/enrollmentTokens
Lists active, unexpired enrollment tokens for a given enterprise.

REST Resource: v1.enterprises.migrationTokens

Methods
create POST /v1/{parent=enterprises/*}/migrationTokens
Creates 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 Management API.
get GET /v1/{name=enterprises/*/migrationTokens/*}
Gets a migration token.
list GET /v1/{parent=enterprises/*}/migrationTokens
Lists migration tokens.

REST Resource: v1.enterprises.policies

Methods
delete DELETE /v1/{name=enterprises/*/policies/*}
Deletes a policy.
get GET /v1/{name=enterprises/*/policies/*}
Gets a policy.
list GET /v1/{parent=enterprises/*}/policies
Lists policies for a given enterprise.
patch PATCH /v1/{name=enterprises/*/policies/*}
Updates or creates a policy.

REST Resource: v1.enterprises.webApps

Methods
create POST /v1/{parent=enterprises/*}/webApps
Creates a web app.
delete DELETE /v1/{name=enterprises/*/webApps/*}
Deletes a web app.
get GET /v1/{name=enterprises/*/webApps/*}
Gets a web app.
list GET /v1/{parent=enterprises/*}/webApps
Lists web apps for a given enterprise.
patch PATCH /v1/{name=enterprises/*/webApps/*}
Updates a web app.

REST Resource: v1.enterprises.webTokens

Methods
create POST /v1/{parent=enterprises/*}/webTokens
Creates a web token to access an embeddable managed Google Play web UI for a given enterprise.

REST Resource: v1.provisioningInfo

Methods
get GET /v1/{name=provisioningInfo/*}
Get the device provisioning information by the identifier provided in the sign-in url.

REST Resource: v1.signupUrls

Methods
create POST /v1/signupUrls
Creates an enterprise signup URL.