Entitlements: update

Adds or updates an entitlement to an app for a user.


HTTP request

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


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.


This request requires authorization with the following scope:


For more information, see the authentication and authorization page.

Request body

In the request body, supply an Entitlements resource.


If successful, this method returns an Entitlements resource in the response body.