REST API  4.0.0
REST API for SafeNet Network HSMs
POST /api/lunasa/hsms/{hsmid}/updates/{updateid}

POST /api/lunasa/hsms/{hsmid}/updates/{updateid}

Applies a specific HSM update.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

updateid

The identifier of the update to apply

Use: Required

JSON Schema:

   Object
   type: string

Responses

204

Success.

Location

JSON Schema:

    id: Object
        type: string

"Location" is the URL to the task spawned to perform the HSM update.

400

Unexpected error

404

HSM or update does not exist.

Example Request

   POST
   https://1.2.3.4:8443/api/lunasa/hsms/154704/updates/ppso

Example Result

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

{
}