AI-generated Key Takeaways
-
This method allows adding or updating an app entitlement for a specific user within an enterprise.
-
It's deprecated and will be inaccessible after September 30, 2025; new integrations should refer to updated recommendations.
-
Requires authorization with the
https://www.googleapis.com/auth/androidenterprise
scope. -
The request can optionally install the entitled product on all user's devices.
Adds or updates an entitlement to an app for a user.
Request
HTTP request
PUT 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. |
Optional query parameters | ||
install |
boolean |
Set to true to also install the product on all the user's devices where possible. Failure to install on one or more devices will not prevent this operation from returning successfully, as long as the entitlement was successfully assigned to 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
In the request body, supply an Entitlements resource.
Response
If successful, this method returns an Entitlements resource in the response body.