Get devices in a specific site

Use this API to get all devices in a site.

Resource Information

Method

URL

Required authentication

GET

/V1/CMDB/Sites/Devices

Yes

Parameters

Name

Description

Token*required
(header)

Place the token received from the API Log in to get an authentication token.

sitePath*required
(query)

The full path of a site, such as My Network/NA/US.

Response

Parameter

Type

Description

Example

devices

object

An object with all devices in a site.

{
  "devices": [
    {
      "id""7d47c791-84cb-4bdb-9d2c-abbfafe71b2e",
      "mgmtIP""10.10.7.253",
      "hostname""GW2Lab",
      "deviceTypeName""Cisco IOS Switch"
    }
  ]
}

Id

string

The ID of a device

mgmtIP

string

The management IP of a device.

hostname

string

The hostname of a device.