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

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

Gets all role-related actions associated with the partition.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

partitionid

The partition 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 partition.

JSON Schema: Partition Role Actions

400

Unexpected error

404

HSM, partition or role does not exist.

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/hsms/462283/partitions/1076336284686/roles/co/actions

Example Result

{
   "actions": [
        {
            "id": "createChallenge",
            "url": "/api/lunasa/hsms/462283/partitions/1076336284686/roles/co/actions/createChallenge"
        },
        {
            "id": "reset",
            "url": "/api/lunasa/hsms/462283/partitions/1076336284686/roles/co/actions/reset"
        },
      {
         "id": "deactivate",
         "url": "/api/lunasa/hsms/462283/partitions/1076336284686/roles/co/actions/deactivate"
      }
    ]
}