REST API  14
REST API for Luna Network HSMs
POST /api/lunasa/hsms/{hsmid}/metrics/actions/{actionid}

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

Perform an action of utilization metrics. This resource requires SO authentication and policy 49 which allows partition utilization metrics needs to be changed to 1.

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/67848/metrics/actions/reset

Example Result

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

{

}