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:

[
  {
	"skuid": "1010020028",
	"productid": "Google-Apps"
  }
]
List of Objects FALSE

User

Primary Email

Email address of the user who is being assigned the license.

Text TRUE

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:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number