Method: customers.dpcs.list
Lists the DPCs (device policy controllers) that support zero-touch enrollment.
HTTP request
GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/dpcs
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The customer that can use the DPCs in configurations. An API resource name in the format customers/[CUSTOMER_ID] .
|
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 listing DPCs.
JSON representation |
{
"dpcs": [
{
object (Dpc )
}
]
} |
Fields |
dpcs[] |
object (Dpc )
The list of DPCs available to the customer that support zero-touch enrollment.
|
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-08-07 UTC.
[null,null,["Last updated 2024-08-07 UTC."],[[["This webpage details how to list Device Policy Controllers (DPCs) that support zero-touch enrollment via an HTTP GET request."],["The request URL structure requires a `parent` path parameter, representing the customer's ID in the format `customers/[CUSTOMER_ID]`."],["The request body for listing DPCs must be empty, and the response will contain a list of DPCs in JSON format."],["Successful responses return a JSON object, with the `dpcs[]` field containing an array of DPC objects."],["Authorisation to perform the request requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope."]]],["This document details retrieving a list of Device Policy Controllers (DPCs) supporting zero-touch enrollment. A `GET` request is sent to a specific URL using gRPC Transcoding, including the customer ID as a required `parent` path parameter. The request body must be empty. A successful response contains a JSON object with a `dpcs[]` field, listing available DPCs. The process requires `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope for authorization.\n"]]