- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
Lists devices managed by the enterprise.
HTTP request
GET https://smartdevicemanagement.googleapis.com/v1/{parent=enterprises/*}/devices
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The parent enterprise to list devices under. E.g. "enterprises/XYZ". |
Query parameters
Parameters | |
---|---|
filter |
Optional filter to list devices. Filters can be done on: Device custom name (substring match): 'customName=wing' |
Request body
The request body must be empty.
Response body
Response message for SmartDeviceManagementService.ListDevices
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"devices": [
{
object ( |
Fields | |
---|---|
devices[] |
The list of devices. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/sdm.service
For more information, see the OAuth 2.0 Overview.