Entitlements: patch

Adds or updates an entitlement to an app for a user. This method supports patch semantics.


HTTP request

PATCH 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 the relevant portions of an Entitlements resource, according to the rules of patch semantics.


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

Оставить отзыв о...

Текущей странице
Google Play EMM API