Assign License to User
Assign a license to a Google Workspace user.
For more information on assigning, removing, and reassigning licenses, see Google's licensing documentation page.
Input
Field | Definition | Type | Required |
---|---|---|---|
Product |
|||
Licenses |
List of product licenses (or a single license) that you want to assign to the user. See Google Product and SKU IDs. For example: Copy
|
List of Objects |
FALSE |
User |
|||
Primary Email |
Email address of the user who is being assigned the license. |
Text |
TRUE |
Attempting to assign an already-assigned license to a user returns an error:
-
If the license is one that Google Workspace automatically assigns to new users, the card returns a 503 error code.
-
If new users aren't automatically assigned the license that's specified on the card, but the user already has the license, the card returns a 412 error code.
If the Cloud Identity Free license is assigned by default for a Google Workspace account, then that license is automatically assigned to all new users.
Output
Field | Definition | Type |
---|---|---|
Results |
List of Objects |
|
License Name |
Name of the assigned license. |
Text |
Product ID |
Unique product identifier for the assigned license. |
Text |
SKU Name |
Display name for the product stock keeping unit (SKU). |
Text |
SKU ID |
Unique identifier for the product SKU. |
Text |
User ID |
Primary email address for the user who's assigned to the license. |
Text |
Self Link |
Link to the API documentation page for the license assignments. |
Text |
Kind |
Identifies the resource as a LicenseAssignment. |
Text |
Etags |
Etag of the resource. |
Text |
Status Code |
Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:
For a full list of possible status codes, see HTTP status codes. |
Number |