Get details for a specified device

Get detailed information such as name, brand name, domain ID for the device specified.

Resource Name:

/api/v1/devices/{deviceName}

Request Method: GET

Request URL Parameters:

Element

Type

Description

deviceName

Mandatory

String

Name of the device for which you want to get detailed information.

displayName

Boolean

True - you can use device display name as the firewall name.

False (default) - you must use the device-name as the firewall name.

Response:

Code

Description

200

OK. Returns the requested data as specified in JSON format.

400

Bad request

401

Unauthorized

Request example

curl -X GET "https://1.1.1.1/afa/api/v1/devices/Iris_Cisco?displayName=true" -H "accept: */*"