REST API
4.0.0
REST API for SafeNet Network HSMs
|
This resource allows changing settings for a specific server.
Specifies the id of the NTP server.
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: Optional
JSON Schema:
Object type:integer
Specifies flag controlling enabling autokey authentication.
Use: Optional
JSON Schema:
Object type:boolean
Specifies flag controlling sending a burst of packets instead of usual single packet.
Use: Optional
JSON Schema:
Object type:boolean
Specifies flag controlling sending a burst of packets when an initial connection cannot be established.
Use: Optional
JSON Schema:
Object type:boolean
Specifies flag designating this server as the preferred one.
Use: Optional
JSON Schema:
Object type:boolean
Success
Unexpected failure.
Specified server does not exist.
PATCH https://1.2.3.4:8443/api/lunasa/ntp/servers/example.com { "isPreferredServer": false }
{ }
This resource will require SO authentication when the forceSoLogin flag is enabled. (See GET /api/lunasa)