Stay organized with collections
Save and categorize content based on your preferences.
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-08-19 UTC."],[[["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."]]],[]]