- 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 | |
---|---|
pageSize |
Optional requested page size. Server may return fewer devices than requested. If unspecified, server will pick an appropriate default. |
pageToken |
Optional token of the page to retrieve. |
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
If successful, the response body contains data with the following structure:
Response message for SmartDeviceManagementService.ListDevices
JSON representation |
---|
{
"devices": [
{
object ( |
Fields | |
---|---|
devices[] |
The list of devices. |
nextPageToken |
The pagination token to retrieve the next page of results. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/sdm.service
For more information, see the OAuth 2.0 Overview.