Page Summary
-
This webpage details how to list a customer's devices using the Android Device Provisioning API.
-
The HTTP request uses a
GETmethod to retrieve devices via a URL formatted with gRPC Transcoding, specifying the customer ID in the path. -
It requires the inclusion of
pageSizeandpageTokenquery parameters to manage result pagination, withpageSizedetermining the maximum number of devices per page. -
The request body must be empty and the response body contains a list of devices and a
nextPageTokento obtain additional pages of results if available. -
Access to this API endpoint requires authorization using the
https://www.googleapis.com/auth/androidworkzerotouchemmOAuth scope.
Lists a customer's devices.
HTTP request
GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent
|
Required. The customer managing the devices. An API resource name in the format |
Query parameters
| Parameters | |
|---|---|
pageSize
|
Required. The maximum number of devices to show in a page of results. Must be 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 of customer's liting devices.
| JSON representation | |
|---|---|
{
"devices"
:
[
{
object (
|
|
| Fields | |
|---|---|
devices[]
|
The customer's devices. |
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 .

