REST API
4.0.0
REST API for SafeNet Network HSMs
|
Gets all routes for a specific network device.
Specifies the id of the device.
Use: Required
JSON Schema:
Object type:string
A list of all network routes.
JSON Schema: Network Routes
Unexpected error
Device does not exist.
GET https://1.2.3.4:8443/api/lunasa/network/devices/eth0/routes
{ "routes": [ { "id": "default", "url": "/api/lunasa/network/devices/eth0/default }, { "id": "1.2.3.0_24_k_100", "url": "/api/lunasa/network/devices/eth0/1.2.3.0_24_k_100" }, { "id": "2000::10_128_s_1", "url": "/api/lunasa/network/devices/eth3/routes/2000%3a%3a10_128_s_1" } ] }
GET /api/lunasa/network/devices/{deviceid}/routes/{routeid})
DELETE /api/lunasa/network/devices/{deviceid}/routes/{routeid})