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

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

Sets given 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: Not Required

JSON Schema:

   Object
   type: string

Responses

204

Success

400

Unexpected Error

404

Log does not exist.

Example Request

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