REST API
4.0.0
REST API for SafeNet Network HSMs
|
Gets all roles associated with the HSM.
The serial number of the HSM of interest
Use: Required
JSON Schema:
Object type: string
A list of all roles associated with the appliance. The list includes unique identifiers that can be used to get more specific information.
JSON Schema: HSM Roles
Unexpected error
HSM does not exist.
GET https://1.2.3.4:8443/api/lunasa/hsms/154704/roles
{ "roles": [ { "id": "audit", "name": "Auditor", "url": "/api/lunasa/hsms/151256/roles/audit" }, { "id": "so", "name": "Security Officer", "url": "/api/lunasa/hsms/151256/roles/so" } ] }