Devices: get

  • The documentation describes how to retrieve the details of a device using an HTTP GET request.

  • The request requires authorization using the https://www.googleapis.com/auth/androidenterprise scope.

  • Path parameters for the request include deviceId, enterpriseId, and userId.

  • A successful request will return a Devices resource in the response body.

Retrieves the details of a device.

Request

HTTP request

GET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/devices/deviceId

Parameters

Parameter name Value Description
Path parameters
deviceId string The ID of the device.
enterpriseId string The ID of the enterprise.
userId string The ID of the user.

Authorization

This request requires authorization with the following scope:

Scope
https://www.googleapis.com/auth/androidenterprise

For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a Devices resource in the response body.