REST API  4.0.0
REST API for SafeNet Network HSMs
PATCH /api/lunasa/network/devices/{deviceid}/ip6

PATCH /api/lunasa/network/devices/{deviceid}/ip6

Sets ip6 configurations for a specific device.

Parameters

deviceid

The identifier of a network device.

Use: Required

JSON Schema:

   Object
   type: string

ip

The global ipv6 address to set for the device.

Use: Not Required

JSON Schema:

   Object
   type: string

prefix

The prefix to set for the device.

Use: Not Required

JSON Schema:

   Object
   type: integer

gateway

The default gateway to set for the device.

Use: Not Required

JSON Schema:

   Object
   type: string

Responses

204

Success

400

Unexpected error

404

Device does not exist.

Example Request

   PATCH 
   https://1.2.3.4:8443/api/lunasa/network/devices/eth0/ip6
   {
        "ip" : "2000::2",
        "prefix" : 3
   }

Example Result

{

}

Notes

This resource will return a waiting task if you are modifying the device that the web server is currently running on.