Skip to main content

license_assignments

Overview

Namelicense_assignments
TypeResource
Idgoogleworkspace.licensing.license_assignments

Fields

NameDatatypeDescription
productIdstringA product's unique identifier. For more information about products in this version of the API, see Product and SKU IDs.
productNamestringDisplay Name of the product.
selfLinkstringLink to this page.
skuIdstringA product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.
skuNamestringDisplay Name of the sku of the product.
userIdstringThe 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.
etagsstringETag of the resource.
kindstringIdentifies the resource as a LicenseAssignment, which is licensing#licenseAssignment.

Methods

NameAccessible byRequired ParamsDescription
licenseAssignments_getSELECTproductId, skuId, userIdGet a specific user's license by product SKU.
licenseAssignments_deleteDELETEproductId, skuId, userIdRevoke a license.
licenseAssignments_insertEXECproductId, skuIdAssign a license.
licenseAssignments_patchEXECproductId, skuId, userIdReassign a user's product SKU with a different SKU in the same product. This method supports patch semantics.
licenseAssignments_updateEXECproductId, skuId, userIdReassign a user's product SKU with a different SKU in the same product.