- HTTP request
- Path parameters
- Request body
- Response body
- Authorization Scopes
- LicenseAssignmentPatch
- Try it!
Reassign a user's product SKU with a different SKU in the same product. This method supports patch semantics.
HTTP request
PATCH https://licensing.googleapis.com/apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
productId |
A product's unique identifier. For more information about products in this version of the API, see Products and SKUs. |
skuId |
A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs. |
userId |
The user's current primary email address. If the user's email address changes, use the new email address in your API requests. |
Request body
The request body contains an instance of LicenseAssignmentPatch
.
Response body
If successful, the response body contains an instance of LicenseAssignment
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/apps.licensing
For more information, see the OAuth 2.0 Overview.
LicenseAssignmentPatch
Representation of a patch assignment.
JSON representation | |
---|---|
{ "skuId": string } |
Fields | |
---|---|
skuId |
The product's new unique identifier. For more information about products in this version of the API, see Products and SKUs. |