Products: getPermissions

  • 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 .

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
Path parameters
enterpriseId
string
The ID of the enterprise.
productId
string
The ID of the product.

Authorization

This request requires authorization with the following scope:

Scope
https://www.googleapis.com/auth/androidenterprise

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 "
kind
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: