REST API  4.0.0
REST API for SafeNet Network HSMs
POST /api/lunasa/webServer/certificate/actions/{actionid}

POST /api/lunasa/webServer/certificate/actions/{actionid}

Performs an action on the certificate used to secure access to the web server that provides the REST API.

Parameters

actionid

The action to be performed on the certificate

Use: Required

JSON Schema:

   Object
   type: string

Responses

204

Success

Location

"Location" is the URL to the certificate changed by the action and is returned in the server response. You can use "Location" to form a GET resource to query the certificate.

see GET api/lunasa/webServer/certificate

400

Unexpected error

404

Action does not exist.

Example Request

   POST 
   https://1.2.3.4:8443/api/lunasa/webServer/certificate/actions/regenerate
   {}

Example Result

{'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json', 'Location': '/api/lunasa/webServer/certificate', 'Content-Length': '2', 'Access-Control-Allow-Credentials': 'true'}

{}