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

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

Gets the information associated with a specific partition role.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

partitionid

The identifier of the partition of interest

Use: Required

JSON Schema:

   Object
   type: string

roleid

The identifier of the role of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

Role details.

JSON Schema: Partition Role description

400

Unexpected error

404

HSM, partition or role does not exist.

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/hsms/154704/partitions/273087011784/roles/co

Example Result

{
    "loginAttemptsLeft": 0,
    "secondaryAuthentication": "None",
    "pinToBeChanged": false,
    "activated": false,
    "challengeToBeChanged": false,
    "primaryAuthentication": "PED",
    "lockedOut": false,
    "initialized": false,
    "id": "co",
    "name": "Crypto Officer"
}