REST API  4.0.0
REST API for SafeNet Network HSMs
POST /api/lunasa/hsms/{hsmid}/tamper/actions/{actionid}

POST /api/lunasa/hsms/{hsmid}/tamper/actions/{actionid}

Performs the action on tampers

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

actionid

The identifier of the tamper action to be performed

Use: Required

JSON Schema:

   Object
   type: string

See Tamper Actions

Responses

204

Success

Location

JSON Schema:

  id: Object
    type: string

"Location" is the URL to the task spawned to perform the tamper action.

400

Unexpected error

404

HSM or action does not exist.

Example Request

   POST 
   https://1.2.3.4:8443/api/lunasa/hsms/521154/tamper/actions/clear

Example Result

{'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/tasks/0', 'Content-Length': '712', 'Access-Control-Allow-Credentials': 'true'}

{
}