LicenseAssignments: listForProductAndSku

Requires authorization

List all users assigned licenses for a specific product SKU. Try it now.

Request

HTTP request

GET https://www.googleapis.com/apps/licensing/v1/product/productId/sku/skuId/users

Parameters

Parameter name Value Description
Path parameters
productId string A product's unique identifier. For more information about products in this version of the API, see Products and SKUs.
skuId string A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.
Required query parameters
customerId string The customerId query string is entered in the API request's URI. In this API version, the customerId is the account's primary domain name.
If the customerId is suspended, the server returns an error.
Optional query parameters
maxResults unsigned integer 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. Acceptable values are 1 to 1000, inclusive. (Default: 100)
pageToken string 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.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/apps.licensing

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "licensing#licenseAssignmentList",
  "etag": etag,
  "nextPageToken": string,
  "items": [
    licenseAssignments Resource
  ]
}
Property name Value Description Notes
kind string Identifies the resource as a collection of LicenseAssignments.
etag etag ETag of the resource.
nextPageToken string The token that you must submit in a subsequent request to retrieve additional license results matching your query parameters. The maxResults query string is related to the nextPageToken since maxResults determines how many entries are returned on each next page.
items[] list The LicenseAssignments in this page of results.

Try it!

Use the APIs Explorer below to call this method on live data and see the response. Alternatively, try the standalone Explorer.

Enviar comentarios sobre…

Enterprise License Manager API
Enterprise License Manager API
¿Necesitas ayuda? Visita nuestra página de asistencia.