LicenseAssignments

For a list of methods for this resource, see the end of this page.

Resource representations

Representation of a license assignment.

{
  "kind": "licensing#licenseAssignment",
  "etags": etag,
  "selfLink": string,
  "userId": string,
  "productId": string,
  "skuId": string,
  "skuName": string,
  "productName": string
}
Property name Value Description Notes
etags etag ETag of the resource.
kind string Identifies the resource as a LicenseAssignment.
productId string A product's unique identifier. For more information about products in this version of the API, see Product and SKU IDs.
productName string Display Name of the product.
skuId string A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. writable
skuName string Display Name of the sku of the product.
userId string The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a userId is subject to change, do not use a userId value as a key for persistent data. This key could break if the current user's email address changes. If the userId is suspended, the license status changes.

Methods

delete
Revoke a license.
get
Get a specific user's license by product SKU.
insert
Assign a license.
listForProduct
List all users assigned licenses for a specific product SKU.
listForProductAndSku
List all users assigned licenses for a specific product SKU.
patch
Reassign a user's product SKU with a different SKU in the same product. This method supports patch semantics.
update
Reassign a user's product SKU with a different SKU in the same product.