AI-generated Key Takeaways
-
This method retrieves IDs of all products for which the enterprise has a group license.
-
This method is deprecated and will no longer be accessible after September 30, 2025; new integrations should use the recommended alternatives.
-
This method requires authorization with the
https://www.googleapis.com/auth/androidenterprisescope. -
The request uses an HTTP GET method to the specified URL with the
enterpriseIdpath parameter. -
A successful response contains a list of group licenses within a JSON object.
Retrieves IDs of all products for which the enterprise has a group license.
Request
HTTP request
GET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/groupLicenses
Parameters
| Parameter name | Value | Description |
|---|---|---|
| Path parameters | ||
enterpriseId |
string |
The ID of the enterprise. |
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#groupLicensesListResponse",
"groupLicense": [
grouplicenses Resource
]
}| Property name | Value | Description | Notes |
|---|---|---|---|
groupLicense[] |
list |
A group license for a product approved for use in the enterprise. | |
kind |
string |
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#groupLicensesListResponse". |