Entitlements: list Stay organized with collections Save and categorize content based on your preferences.
Page Summary
This method lists all entitlements for a specified user and is deprecated, with new integrations advised to use recommended alternatives as it will no longer be accessible after September 30, 2025.
The request uses a GET HTTP method to a specific URL including enterprise and user IDs as path parameters.
Authorization with the
https://www.googleapis.com/auth/androidenterprisescope is required for this request.The response includes a list of entitlement resources and a kind identifier, and no request body should be supplied.
Deprecated: New integrations cannot use this method and can refer toour newrecommendations.
This method will no longer be accessible byanyone after September 30, 2025.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 theauthentication 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":[entitlementsResource]}| 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". |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.