REST API  4.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/network/devices/{deviceid}/ip4

GET /api/lunasa/network/devices/{deviceid}/ip4

Gets ip4 information from a network device.

Parameters

deviceid

The identifier of a network device.

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

Ip4 information about the network device.

JSON Schema: Network Device Ip4

400

Unexpected error

404

Device does not exist.

Example Request

    GET 
    https://1.2.3.4:8443/api/lunasa/network/devices/eth0/ip4
{
}

Example Result

{
    "ip": "1.2.3.4",
    "mask": 24,
    "gateway": "1.2.3.4"
}