REST API  5.0.0
REST API for SafeNet Network HSMs
POST /api/lunasa/hsms/{hsmid}/counter/actions/{actionid}

POST /api/lunasa/hsms/{hsmid}/counter/actions/{actionid}

clear: Clears a subset of counter values. See HSM Counter Actions for a list of counters that are affected by this action.

Parameters

hsmid

The serial number of the HSM of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

204

No Content

400

Unexpected error

404

HSM or action does not exist.

Example Request

   POST 
   https://1.2.3.4:8443/api/lunasa/hsms/154704/counter/actions/clear

Example Result

{'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/tasks/0', 'Content-Length': '712', 'Access-Control-Allow-Credentials': 'true'}

{

}