REST API  4.0.0
REST API for SafeNet Network HSMs
POST /tasks/{taskid}/actions/{actionid}

POST /tasks/{taskid}/actions/{actionid}

Performs the specified task action.

Parameters

taskid

The identifier of the task of interest

Use: Required

JSON Schema:

   Object
   type: string

actionid

The identifier of the task action to be performed

Use: Required

JSON Schema:

   Object
   type: string

See Task Actions

Responses

202

Success

Location

JSON Schema:

    id: Object
        type: string

"Location" is the URL to the task.

400

Unexpected error

404

Task does not exist.

Example Request

   POST 
   https://1.2.3.4:8443/tasks/15/actions/start

Example Result

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

{
}