REST API  4.0.0
REST API for SafeNet Network HSMs
DELETE /api/lunasa/hsms/{hsmid}/partitions/{partitionid}/sff/objects

DELETE /api/lunasa/hsms/{hsmid}/partitions/{partitionid}/sff/objects

Removes all objects from a small form factor backup device.

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

Responses

204

Success

Location

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.

400

Unexpected error

404

HSM or partition does not exist.

Example Request

   DELETE 
   https://1.2.3.4:8443/api/lunasa/hsms/154704/partitions/273087011389/sff/objects

Example Result

{'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:

{
}