Important: We are no longer accepting new registrations for the Play EMM API. Learn more
.
Send feedback
Products: getPermissions Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
This method is deprecated and will no longer be accessible after September 30, 2025.
The method retrieves the Android app permissions required by a specific app for a given enterprise.
Authorization is required using the https://www.googleapis.com/auth/androidenterprise
scope.
The request uses a GET method with enterpriseId
and productId
as path parameters.
The response includes the productId
and a list of permission
objects, each with a permissionId
and state
.
Deprecated:
New integrations cannot use this method and can refer to
our new
recommendations
. This method will no longer be accessible by
anyone after September 30, 2025.
Retrieves the Android app permissions required by this app.
Request
HTTP request
GET https://www.googleapis.com/androidenterprise/v1/enterprises/ enterpriseId
/products/ productId
/permissions
Parameters
Parameter name
Value
Description
enterpriseId
string
The ID of the enterprise.
productId
string
The ID of the product.
Authorization
This request requires authorization with the following scope:
For more information, see the authentication and authorization
page.
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{
"kind": "androidenterprise#productPermissions",
"productId": string
,
"permission": [
{
"permissionId": string
,
"state": string
}
]
}
Property name
Value
Description
Notes
productId
string
The ID of the app that the permissions relate to, e.g. "app:com.google.android.gm".
permission[]
list
The permissions required by the app.
permission[].
permissionId
string
An opaque string uniquely identifying the permission.
permission[].
state
string
Whether the permission has been accepted or not. Acceptable values are: " accepted
"
" required
"
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
Need to tell us more?
[[["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."],[],[]]