REST API  4.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/hsms

GET /api/lunasa/hsms

Gets all HSMs associated with the appliance.

Parameters

None

Responses

200

A list of all HSMs associated with the appliance. Specifically, the list is unique HSM serial numbers. An empty list means that no HSMs are available and might mean that HSM(s) is/are out-of-service.

JSON Schema: HSMs

400

Unexpected error

Example Request

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

Example Result

{
    "hsms": [
        {
            "id": "154704",
            "label": "label for HSM serial #154704",
            "url": "/api/lunasa/hsms/154704"
        },
        {
            "id": "45906",
            "label": "label for HSM serial #459060",
            "url": "/api/lunasa/hsms/459060"
        }
    ]
}