Entitlements: get

  • This method retrieves details of a specific entitlement for a user within an enterprise.

  • It is deprecated and will be inaccessible after September 30, 2025; new integrations should refer to updated recommendations.

  • The request requires authorization with the https://www.googleapis.com/auth/androidenterprise scope.

  • Developers should utilize the provided HTTP request structure with specified path parameters for enterprise ID, user ID, and entitlement ID.

Retrieves details of an entitlement.

Request

HTTP request

GET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/entitlements/entitlementId

Parameters

Parameter name Value Description
Path parameters
enterpriseId string The ID of the enterprise.
entitlementId string The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm".
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 an Entitlements resource in the response body.