REST API
4.0.0
REST API for SafeNet Network HSMs
|
This resource adds an NTP server.
Specifies the address of the NTP server. Valid ip address and hostname may be specified.
Use: Required
JSON Schema:
Object type:string
Specifies the key id used in communication with the NTP server (1-65535).
Use: Optional
JSON Schema:
Object type:integer
Specifies the protocol version used in communication with the NTP server (1-4).
Use: Required
JSON Schema:
Object type:integer
Specifies flag controlling enabling autokey authentication.
Use: Required
JSON Schema:
Object type:boolean
Specifies flag controlling sending a burst of packets instead of usual single packet.
Use: Required
JSON Schema:
Object type:boolean
Specifies flag controlling sending a burst of packets when an initial connection cannot be established.
Use: Required
JSON Schema:
Object type:boolean
Specifies flag designating this server as the preferred one.
Use: Required
JSON Schema:
Object type:boolean
Success
"Location" is the URL to the newly created NTP server.
see GET /api/lunasa/ntp/servers/{serverid}
Unexpected failure
POST https://1.2.3.4:8443/api/lunasa/ntp/servers { "isAutokeyEnabled": false, "isInitialBurstEnabled": true, "isBurstEnabled": false, "isPreferredServer": true, "protocolVersion": 3, "address": "example.com" }
{ }
This resource will require SO authentication when the forceSoLogin flag is enabled. (See GET /api/lunasa)