REST API
4.0.0
REST API for SafeNet Network HSMs
|
Removes all objects from a small form factor backup device.
The serial number of the HSM of interest
Use: Required
JSON Schema:
Object type: string
The identifier of the partition of interest
Use: Required
JSON Schema:
Object type: string
Success
JSON Schema:
id: Object type: string
"Location" is the URL to the task spawned to get the delete all objects on the SFF backup device.
Unexpected error
HSM or partition does not exist.
DELETE https://1.2.3.4:8443/api/lunasa/hsms/154704/partitions/273087011389/sff/objects
{'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/tasks/6', 'Content-Length': '712', 'Access-Control-Allow-Credentials': 'true'} {}
In this example, do GET on '/tasks/6/response' to get the results of the task:
{ }