Method: customers.devices.get

  • This endpoint retrieves detailed information about a specific device using its resource name.

  • The request is made via a GET HTTP request to a URL following gRPC Transcoding syntax, with the device's identifier in the path.

  • The request body must be empty, while a successful response will contain device details as an instance of the Device resource.

  • The name path parameter is required and must follow the format customers/[CUSTOMER_ID]/devices/[DEVICE_ID].

  • Accessing this endpoint requires OAuth 2.0 authorization with the scope https://www.googleapis.com/auth/androidworkzerotouchemm.

Gets the details of a device.

HTTP request

GET https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/devices/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The device to get. An API resource name in the format customers/[CUSTOMER_ID]/devices/[DEVICE_ID].

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Device.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidworkzerotouchemm

For more information, see the OAuth 2.0 Overview.