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

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

Gets all partitions associated with 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 partitions associated with the appliance. The list includes unique identifiers that can be used to get more specific information.

JSON Schema: Partitions

400

Unexpected error

404

HSM does not exist.

Example Request

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

Example Result

{
    "partitions": [
        {
            "id": "273087011269",
            "label": "ABC125",
            "url": "/api/lunasa/hsms/117290/partitions/273087011269"
        },
        {
            "id": "273087011268",
            "label": "ABC124",
            "url": "/api/lunasa/hsms/117290/partitions/273087011268"
        },
        {
            "id": "273087011267",
            "label": "ABC123",
            "url": "/api/lunasa/hsms/117290/partitions/273087011267"
        }
    ]
}

See Also

GET /api/lunasa/hsms/{hsmid}/partitions/{partitionid}