Update

Adds or updates an entitlement to an app for a user

7 variables
3 variables

Adds or updates an entitlement to an app for a user

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Manage corporate Android devices

Input

This building block consumes 7 input parameters

  = Parameter name
  = Format

enterpriseId STRING Required

The ID of the enterprise

userId STRING Required

The ID of the user

entitlementId STRING Required

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

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

kind STRING

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#entitlement"

productId STRING

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

reason STRING

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

Output

This building block provides 3 output parameters

  = Parameter name
  = Format

kind STRING

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#entitlement"

productId STRING

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

reason STRING

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