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

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

Performs the specified action.

User Privileges

Users with the following role privileges can perform this command:

  • admin

Parameters

actionid

The identifier of the action to be performed

Use: Required

JSON Schema:

   Object
   type: string

Responses

204

Success

Location

"Location" is the URL to the newly created log backup.

see GET /users/{userid}/files

400

Unexpected error

404

Invalid action.

Example Request

   POST
   https://1.2.3.4:8443/api/lunasa/syslog/actions/cleanup
   {}

Example Result

{}

Notes

cleanup action will create a waiting task.

NOTE : Use this resource to download the file for REST API version greater than or equivalent to 12.

GET /users/{userid}/files/{fileid}/download