REST API  4.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/hsms/{hsmid}/actions

GET /api/lunasa/hsms/{hsmid}/actions

Gets all actions that an administrator can perform on the HSM.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

A list of all actions associated with the HSM. The list includes unique identifiers that can be used to perform the specific action with a POST.

JSON Schema: HSM Actions

400

Unexpected error

404

HSM or action does not exist.

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/hsms/117290/actions

Example Result

{
    "actions": [
        {
            "id": "zeroize",
            "url": "/api/lunasa/hsms/117290/actions/zeroize"
        },
        {
            "id": "factoryReset",
            "url": "/api/lunasa/hsms/117290/actions/factoryReset"
        },
        {
            "id": "selfTest",
            "url": "/api/lunasa/hsms/117290/actions/selfTest"
        },
        {
            "id": "stmTransport",
            "url": "/api/lunasa/hsms/117290/actions/stmTransport"
        },
        {
            "id": "stmRecover",
            "url": "/api/lunasa/hsms/117290/actions/stmRecover"
        }
    ]
}

See Also

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