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

PATCH /api/lunasa/time

This resource sets time, date or time zone information of the appliance.

Parameters

time

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

Use: Not Required

JSON Schema:

    Object
    type:string

date

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

Use: Not Required

JSON Schema:

    Object
    type:string

timeZone

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

Use: Not Required

JSON Schema:

    Object
    type:string

Responses

204

Success

400

Unexpected error

Example Request

    PATCH
    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)