Method: enterprises.list Stay organized with collections Save and categorize content based on your preferences.
Page Summary
This document details the HTTP request, query parameters, request body, and response body for listing EMM-managed enterprises.
The HTTP request uses a GET method to
https://androidmanagement.googleapis.com/v1/enterprises.Query parameters include
projectId(required),pageSize,pageToken, andview, which is limited toBASIC.The request body must be empty, and the successful response body contains a list of enterprises and a
nextPageToken.Authorization requires the
https://www.googleapis.com/auth/androidmanagementOAuth scope.
Lists EMM-managed enterprises. OnlyBASIC fields are returned.
HTTP request
GET https://androidmanagement.googleapis.com/v1/enterprises
The URL usesgRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
projectId |
Required. The Cloud project ID of the EMM managing the enterprises. |
pageSize |
The requested page size. The actual page size may be fixed to a min or max value. |
pageToken |
A token identifying a page of results returned by the server. |
view |
Specifies which Enterprise fields to return. This method only supports |
Request body
The request body must be empty.
Response body
Response to a request to list enterprises.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{"enterprises":[{object ( |
| Fields | |
|---|---|
enterprises[] |
The list of enterprises. |
nextPageToken |
If there are more results, a token to retrieve next page of results. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidmanagement
For more information, see theOAuth 2.0 Overview.
EnterpriseView
Specifies which Enterprise fields to return.
| Enums | |
|---|---|
ENTERPRISE_VIEW_UNSPECIFIED | The API will default to the BASIC view for the List method. |
BASIC | Includes name and enterpriseDisplayName fields. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-19 UTC.
