REST API  4.0.0
REST API for SafeNet Network HSMs
DELETE /tasks/{taskid}

DELETE /tasks/{taskid}

Removes the record of a tasked resource.

Parameters

taskid

The identifier of the task of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

204

The task record removed.
JSON Schema: The corresponding list member of Tasks associated with taskid

400

Unexpected error

404

Task does not exist.

Example Request

   DELETE 
   https://1.2.3.4:8443/tasks/22

Example Result

{
    "finishTime": "2015-07-11T07:23:54Z",
    "instance": "/tasks/22",
    "sourceUrl": "/api/lunasa/hsms/151256/login",
    "startTime": "2015-07-11T07:23:49Z",
    "state": "Finished",
    "details": ""
}

See Also

GET /tasks