Got 5 minutes? Help us improve Admin Console API documentation by taking a quick online survey.

Method: licenseAssignments.listForProduct

List all users assigned licenses for a specific product SKU.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



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

Query parameters



Customer's customerId. A previous version of this API accepted the primary domain name as a value for this field.
If the customer is suspended, the server returns an error.


integer (uint32 format)

The maxResults query string determines how many entries are returned on each page of a large response. This is an optional parameter. The value must be a positive number.



Token to fetch the next page of data. The maxResults query string is related to the pageToken since maxResults determines how many entries are returned on each page. This is an optional query string. If not specified, the server returns the first page.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of LicenseAssignmentList.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the OAuth 2.0 Overview.