![]() |
REST API
4.0.0
REST API for SafeNet Network HSMs
|
Sets ip4 configurations for a specific device.
The identifier of a network device.
Use: Required
JSON Schema:
Object type: string
The ip address to set for the device.
Use: Not Required
JSON Schema:
Object type: string
The subnet mask to set for the device.
Use: Not Required
JSON Schema:
Object type: integer
The default gateway to set for the device.
Use: Not Required
JSON Schema:
Object type: string
Success
Unexpected error
Device does not exist.
PATCH
https://1.2.3.4:8443/api/lunasa/network/devices/eth0/ip4
{
"ip" : "1.2.3.5",
"mask" : 24
}
{
}
This resource will return a waiting task if you are modifying the device that the web server is currently running on.