Method: customers.list
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 |
integer
Required. The maximum number of customers to show in a page of results. A number between 1 and 100 (inclusive).
|
pageToken |
string
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 (Company )
}
],
"nextPageToken": string
} |
Fields |
customers[] |
object (Company )
The customer accounts the calling user is a member of.
|
nextPageToken |
string
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-04 UTC.
[null,null,["Last updated 2024-12-04 UTC."],[[["This endpoint retrieves a list of customer accounts associated with the authenticated user via a `GET` request to `https://androiddeviceprovisioning.googleapis.com/v1/customers`."],["The request requires `pageSize` and `pageToken` as 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 `customers` field, and an optional `nextPageToken` string to retrieve subsequent pages of results if available."],["Authorization for this request requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope."]]],["This document outlines the process for listing a user's customer accounts via an HTTP GET request to `https://androiddeviceprovisioning.googleapis.com/v1/customers`. Required query parameters include `pageSize` (1-100) and `pageToken` for pagination. The request body must be empty. A successful response returns a JSON structure containing an array of `customers` (Company objects) and a `nextPageToken` for subsequent pages. Authorization requires the `androidworkzerotouchemm` OAuth scope.\n"]]