REST API  15
REST API for Luna Network HSMs
PATCH /api/lunasa/webServer/blocklist

PATCH /api/lunasa/webServer/blocklist

Modifies the given web server blocklist configuration entries.

Parameters

maxInfractionCount

The maximum amount of infractions that can be made before a user is blocklisted.

Use: Not Required

JSON Schema:

    Object
    type:integer

timeoutStart

The starting timeout of a blocklist entry.

Use: Not Required

JSON Schema:

    Object
    type:integer

timeoutMultiplier

The timeout multiplier that defines how much to increment the timeout upon an infraction.

Use: Not Required

JSON Schema:

    Object
    type:integer

severity

The severity of the blocklist as a percentage (0-100). 0 being more tolerant while 100 being more strict, the default value is 50 percent. This parameter replaces the use of the above three parameters.

Use: Not Required

JSON Schema:

    Object
    type:integer

Responses

204

Success

400

Unexpected error

Example Request

  PATCH
  https://1.2.3.4:8443/api/lunasa/webServer/blocklist
  {
    "maxInfractionCount": 100
  }

Example Result

{
}