![]() |
REST API
17
REST API for Luna Network HSMs
|
Performs the specified action.
Users with the following role privileges can perform this command:
The identifier of the action to be performed.
Use: Required
JSON Schema:
Object type: string minLength: 1 maxLength: 32 pattern: ^[a-zA-Z0-9_.-]*$
This parameter specifies the address of server that is used for NTP synchronization.This parameter will be validated.
Use: Optional
JSON Schema:
Object
type:string
minLength: 1
maxLength: 128
pattern: ^([a-zA-Z0-9.[]_:-]*)$
This parameter is used to enable Authentication.
Use: Optional
JSON Schema:
Object
type:bool
Specifies the key id used in communication with the NTP server.
Use: Optional
JSON Schema:
Object
type: integer
minimum: 1
maximum: 65535
Specifies the protocol version used in communication with the NTP server. Note: NTS Authentication is supported with protocol version 4 only.
Use: Optional
JSON Schema:
Object
type: integer
minimum: 3
maximum: 4
success.
Returned when the input data does not conform to the required validation schema.
Parameters used for ntp authentication are invalid.
NTP service must be stopped before requesting this resource.
Unable to perform requested operation.
POST
https://1.2.3.4:8443/api/lunasa/ntp/actions/synchronize
{
"server": "1.2.3.12"
}
Synchronization requires the NTP service to be stopped.