Method: enterprises.devices.list

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

string

The parent enterprise to list devices under. E.g. "enterprises/XYZ".

Query parameters

Parameters
filter

string

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 (Device)
    }
  ]
}
Fields
devices[]

object (Device)

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.