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

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

Performs the specified action.

User Privileges

Users with the following role privileges can perform this command:

  • admin
  • operator

Parameters

actionid

The identifier of the action to be performed

Use: Required

JSON Schema:

   Object
   type: string

Responses

204

Success

400

SSH_FAILED_TO_RESET_CIPHERS

Unable to reset ciphers.

400

SSH_OPERATION_FAILED

Unable to perform operation.

404

FRAMEWORK_NO_RESOURCE

ActionId provided does not exist.

Example Request

   POST
   https://1.2.3.4:8443/api/lunasa/ssh/actions/keyRegenerate
   {}

   POST
   https://1.2.3.4:8443/api/lunasa/ssh/actions/resetCiphers
   {}

Note: After a successful reset, SSH cipher values revert to the default ones i.e. 'aes192-ctr: aes256-ctr'.

Example Result

{}