v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-137417.2 KB
licenseAssignments

Reassign a user's product SKU with a different SKU in the same product.

put/apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}

Path parameters

productIdstring required

A product's unique identifier. For more information about products in this version of the API, see Products and SKUs.

skuIdstring required

A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.

userIdstring required

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.

Request body

skuNamestring

Display Name of the sku of the product.

kindstring

Identifies the resource as a LicenseAssignment, which is licensing#licenseAssignment.

productNamestring

Display Name of the product.

userIdstring

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.

etagsstring

ETag of the resource.

productIdstring

A product's unique identifier. For more information about products in this version of the API, see Product and SKU IDs.

selfLinkstring

Link to this page.

skuIdstring

A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.

Response

Successful response