Method: enterprises.devices.get

  • Retrieves details for a specific device managed within an enterprise using a GET request.

  • Requires providing the device's unique identifier in the URL path.

  • Returns a comprehensive Device object containing information about the requested device upon successful execution.

  • Needs authorization with the sdm.service scope for access.

Gets a device managed by the enterprise.

HTTP request

GET https://smartdevicemanagement.googleapis.com/v1/{name=enterprises/*/devices/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the device requested. For example: "enterprises/XYZ/devices/123"

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/sdm.service

For more information, see the OAuth 2.0 Overview.