REST API  14
REST API for Luna Network HSMs
POST /api/lunasa/webServer/actions/{actionid}

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

Sends the specified configuration action to the web server.

Parameters

actionid

The identifier of the action to be performed

Use: Required

JSON Schema:

   Object
   type: string

See Web Server Configuration Actions

Responses

200

Success

location

JSON Schema:

    id: Object
        type: string

"location" is the URL to the task spawned to perform the web server configuration action.

400

APICONFIG_INTERNAL_ERROR

Unexpected error

404

FRAMEWORK_NO_RESOURCE

Action does not exist.

Example Request

   POST
   https://1.2.3.4:8443/api/lunasa/webServer/actions/setDefaultCipherList

Example Result

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

{
}