Stay organized with collections
Save and categorize content based on your preferences.
The
APIs explorer
allows you to call Android Management API directly. To call the API from a
server, you need to enable Android Management API for your project and create a
service account.
Enable the Android Management API
Enable the Android Management API for your project.
Open the
Credentials page.
If prompted, select the project that has the Android Management API enabled.
Click Create credentials > Service account key.
From the dropdown menu, select New service account. Enter a name for
your service account.
Select your preferred key type and click Create. Your new public/private
key pair is generated and downloaded to your machine and is the only copy of
this key. You are responsible for storing it securely.
Open the IAM page. If
prompted, select the project that has the Android Management API enabled.
Click Add.
Add the service account you've just created as member and select the role
Android Management User.
Click Save.
(Optional, but highly recommended) Add additional project owners by
granting the Owner role
to existing project members.
Roles and permissions
To access the Android Management API your service account requires the
androidmanagement.enterprises.manage permission, which can be granted by the
Android Management User role (or roles/androidmanagement.user).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["Use the APIs Explorer to directly interact with the Android Management API."],["To call the API from a server, enable the Android Management API for your Google Cloud project and create a service account with the \"Android Management User\" role."],["Securely store the generated public/private key pair for your service account as it is the only copy and crucial for API access."],["Optionally, enhance project security by granting the \"Owner\" role to existing project members for additional oversight."]]],["To use the Android Management API, first enable it in the Google API Console by selecting your project and enabling it. Then, create a service account by generating a new key pair. Next, assign the \"Android Management User\" role to the service account in the IAM page. The service account needs the `androidmanagement.enterprises.manage` permission, granted by the role. Optionally, add project owners with the Owner role.\n"]]