AI-generated Key Takeaways
-
This deprecated method lists all entitlements, providing only the ID, for a specified user within an enterprise before September 30, 2025.
-
It requires authorization with the
https://www.googleapis.com/auth/androidenterprise
scope and involves a GET request to a specific endpoint with enterprise and user IDs as path parameters. -
The response includes an array of entitlements for the user, along with a kind identifier for the response type.
-
New integrations should refer to recommended alternatives as this method will become inaccessible after the specified date.
Lists all entitlements for the specified user. Only the ID is set.
Request
HTTP request
GET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/entitlements
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
enterpriseId |
string |
The ID of the enterprise. |
userId |
string |
The ID of the user. |
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#entitlementsListResponse", "entitlement": [ entitlements Resource ] }
Property name | Value | Description | Notes |
---|---|---|---|
entitlement[] |
list |
An entitlement of a user to a product (e.g. an app). For example, a free app that they have installed, or a paid app that they have been allocated a license to. | |
kind |
string |
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#entitlementsListResponse" . |