AI-generated Key Takeaways
-
This endpoint retrieves a list of customer accounts associated with the authenticated user via a
GETrequest tohttps://androiddeviceprovisioning.googleapis.com/v1/customers. -
The request requires
pageSizeandpageTokenas query parameters to manage the number of results per page and navigate through multiple pages of customer accounts. -
The request body should be empty for this endpoint, meaning no data should be sent within the request body.
-
The response body contains a list of customer objects in the
customersfield, and an optionalnextPageTokenstring to retrieve subsequent pages of results if available. -
Authorization for this request requires the
https://www.googleapis.com/auth/androidworkzerotouchemmOAuth scope.
Lists the user's customer accounts.
HTTP request
GET https://androiddeviceprovisioning.googleapis.com/v1/customers
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
pageSize |
Required. The maximum number of customers to show in a page of results. A number between 1 and 100 (inclusive). |
pageToken |
A token specifying which result page to return. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response message for listing my customers.
| JSON representation | |
|---|---|
{
"customers": [
{
object ( |
|
| Fields | |
|---|---|
customers[] |
The customer accounts the calling user is a member of. |
nextPageToken |
A token used to access the next page of results. Omitted if no further results are available. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidworkzerotouchemm
For more information, see the OAuth 2.0 Overview.