REST API
4.0.0
REST API for SafeNet Network HSMs
|
Logs out of the partition.
The serial number of the HSM of interest
Use: Required
JSON Schema:
Object type: string
The partition identifier of interest
Use: Required
JSON Schema:
Object type: string
Success
"Location" is the URL to the partition logged out and is returned in the server response. You can use "Location" to form a GET resource to query the partition status.
see GET /api/lunasa/hsms/{hsmid}/partitions/{partitionid}
For PED-based partitions, "Location" is the URL to the task spawned to log out the partition.
Unexpected error
POST https://1.2.3.4:8443/api/lunasa/hsms/154704/partitions/352170252337/logout { }
password-based HSM: {'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/api/lunasa/hsms/154704/partitions/352170252337', 'Content-Length': '2', 'Access-Control-Allow-Credentials': 'true'} PED-based HSM {'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/tasks/2', 'Content-Length': '712', 'Access-Control-Allow-Credentials': 'true'} {}