Get all interfaces of a device

Use this API to get all interfaces of a device.

Resource Information

Method

URL

Required authentication

GET

/V1/CMDB/Interfaces

Yes

Parameters

Name

Description

Token*required
(header)

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

hostname*required
(query)

The hostname of a device.

Response

Parameter

Type

Description

Example

Interfaces

list

A list of interface names.

{
  "statusCode"790200,
  "statusDescription""success",
  "interfaces": [
    "Ethernet 0/1","Ethernet 0/2""Ethernet 0/3"
  ]
}

statusCode

integer

The returned status code of executing the API.

statusDescription

string

The explanation of the status code.