REST API
4.0.0
REST API for SafeNet Network HSMs
|
Performs the action on the PED.
The serial number of the HSM of interest
Use: Required
JSON Schema:
Object type: string
The identifier of the PED of interest
Use: Required
JSON Schema:
Object type: string
The identifier of the PED action to be performed
Use: Required
JSON Schema:
Object type: string
See PED Actions
Applies for the "connect" action. Specifies the location of the PED server.
Use: Required
JSON Schema:
Object type: string
Applies for the "connect" action. Specifies the port for the PED server (80-65535).
Use: Required
JSON Schema:
Object type: integer
Success
JSON Schema:
id: Object type: string
"Location" is the URL to the task spawned to perform the action on the PED.
Unexpected error
HSM, PED or action does not exist.
POST https://1.2.3.4:8443/api/lunasa/hsms/154704/peds/0/actions/vectorInitialize { } POST https://1.2.3.4:8443/api/lunasa/hsms/154704/peds/0/actions/connect { "ipAddress" : "1.2.3.70", "ipPort" : 1503 }
{'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/api/lunasa/hsms/tasks/3', 'Content-Length': '2', 'Access-Control-Allow-Credentials': 'true'} { }