v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-137790167.2 KB
entitlements

Adds or updates an entitlement to an app for a user. Note: This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.

put/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}

Path parameters

enterpriseIdstring required

The ID of the enterprise.

userIdstring required

The ID of the user.

entitlementIdstring required

The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm".

Query parameters

installboolean

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.

Request body

productIdstring

The ID of the product that the entitlement is for. For example, "app:com.google.android.gm".

reason'free' | 'groupLicense' | 'userPurchase'

The reason for the entitlement. For example, "free" for free apps. This property is temporary: it will be replaced by the acquisition kind field of group licenses.

Response

Successful response