AI-generated Key Takeaways
-
Retrieves details for a specific device managed within an enterprise using a
GETrequest. -
Requires providing the device's unique identifier in the URL path.
-
Returns a comprehensive
Deviceobject containing information about the requested device upon successful execution. -
Needs authorization with the
sdm.servicescope 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 |
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.