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

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

Gets all role-related actions associated with the HSM.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

roleid

The HSM role of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

The set of all role actions associated with the HSM.

JSON Schema: HSM Role Actions

400

Unexpected error

404

HSM or role does not exist.

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/hsms/154704/roles/SO/actions

Example Result

{
  "actions":
    [
       {"url": "/api/lunasa/hsms/154704/roles/so/actions/reset", "id": "reset"},
       {"url": "/api/lunasa/hsms/154704/roles/so/actions/createChallenge", "id": "createChallenge"}
    ]
}