Entitlements: updateStay organized with collectionsSave and categorize content based on your preferences.
AI-generated Key Takeaways
This method, which adds or updates an entitlement to an app for a user, is deprecated and will not be accessible after September 30, 2025.
New integrations should refer to the new recommendations as this method cannot be used.
The request requires authorization with thehttps://www.googleapis.com/auth/androidenterprisescope.
The HTTP request uses a PUT method and includes path parameters forenterpriseId,entitlementId, anduserId, along with an optional query parameterinstall.
A successful response returns an Entitlements resource in the response body.
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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[],[]]