REST API  4.0.0
REST API for SafeNet Network HSMs
PUT /api/lunasa/time

PUT /api/lunasa/time

This resource configures time, date and time zone on the appliance.

Parameters

time

This parameter specifies the hour, minute, and second values. The format must be HH:MM:SS.

Use: Required

JSON Schema:

    Object
    type:string

date

This parameter specifies the date. The format must be YYYY-MM-DD.

Use: Required

JSON Schema:

    Object
    type:string

timeZone

This parameter specifies the time zone. Please refer to SafeNet Network HSM documentation for details.

Use: Required

JSON Schema:

    Object
    type:string

Responses

204

Success

400

Unexpected error

Example Request

    PUT
    https://1.2.3.4:8443/api/lunasa/time
    {
        "time": "15:00:00",
        "date": "2016-05-27",
        "timeZone": "EST"
    }

Example Result

{
}

Notes

This resource will require SO authentication when the forceSoLogin flag is enabled. (See GET /api/lunasa)