REST API  14
REST API for Luna Network HSMs
PATCH /api/lunasa/ntls/tcpKeepAlive

PATCH /api/lunasa/ntls/tcpKeepAlive

Sets the specific TCP KeepAlive information for NTLS.

Note: The NTLS service should be restarted for new settings to take effect.

Parameters

idle

The value of seconds before sending the first probe

Use: Required

JSON Schema:

   Object
   type: integer

interval

The interval indicates seconds between probes

Use: Required

JSON Schema:

   Object
   type: integer

count

The count is number of sequential probes before tearing down the connection

Use: Required

JSON Schema:

   Object
   type: integer

The following table shows defined values for count, idle and interval.

Parameter Range Default Value
count 1 - 30 2
idle 10 - 10000 10
interval 10 - 360 10

Responses

204

Success

400

Unexpected error

Example Request

   PATCH
   https://1.2.3.4:8443/api/lunasa/ntls/tcpKeepAlive
   {
      "interval" : 20,
      "count" : 3
   }

Example Result

{
}

See Also

GET /api/lunasa/ntls/tcpKeepAlive