REST API  4.0.0
REST API for SafeNet Network HSMs
PUT /api/lunasa/syslog/logs/{logid}

PUT /api/lunasa/syslog/logs/{logid}

Sets all log configurations.

Parameters

logid

The identifier of the log.

Use: Required

JSON Schema:

   Object
   type: string

severity

The severity of the log (emergency, alert, critical, error, warning, notice, info, debug, all).

Use: Required

JSON Schema:

   Object
   type: string

Responses

204

Success

400

Unexpected Error

404

Log does not exist.

Example Request

    PUT
    https://1.2.3.4:8443/api/lunasa/syslog/logs/lunalogs
    {
        "severity" : "all"
    }

Example Response

{}

Notes

Currently only the severity of lunalogs can be set.