Grouplicenseusers: list

  • This method retrieves the IDs of users with entitlements under a specific license, but is deprecated and will be inaccessible after September 30, 2025.

  • New integrations should refer to the recommended alternatives provided in the documentation instead of using this method.

  • The request requires authorization with the https://www.googleapis.com/auth/androidenterprise scope.

  • It involves sending a GET request to a specific endpoint, including the enterprise and group license IDs in the path parameters.

  • A successful response provides a list of users associated with the license, along with a kind identifier.

Retrieves the IDs of the users who have been granted entitlements under the license.

Request

HTTP request

GET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/groupLicenses/groupLicenseId/users

Parameters

Parameter name Value Description
Path parameters
enterpriseId string The ID of the enterprise.
groupLicenseId string The ID of the product the group license is for, e.g. "app:com.google.android.gm".

Authorization

This request requires authorization with the following scope:

Scope
https://www.googleapis.com/auth/androidenterprise

For more information, see the authentication and authorization page.

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": "androidenterprise#groupLicenseUsersListResponse",
  "user": [
    users Resource
  ]
}
Property name Value Description Notes
user[] list A user of an enterprise.
kind string Identifies what kind of resource this is. Value: the fixed string "androidenterprise#groupLicenseUsersListResponse".