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

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

Sends the specified firmware action to the HSM.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

actionid

The identifier of the firmware action to be performed

Use: Required

JSON Schema:

   Object
   type: string

See Firmware Actions

Responses

204

Success

Location

JSON Schema:

    id: Object
        type: string

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

400

Unexpected error

404

HSM or action does not exist.

Example Request

   POST 
   https://1.2.3.4:8443/api/lunasa/hsms/154704/firmware/actions/upgrade

Example Result

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

{
}