Remove a task

DELETE {{httptype}}://{{IP}}/mot/{{miralixAccount}}/tasks/{{TaskId}}

If the task is still in a queue, it is removed from the queue. If it is being handled by an agent, the task is ended.

HTTP DELETE: /tasks/{taskId}

ParameterValueDescription
taskIdStringID for a task

Example

https://192.168.1.10/mot/greenbox/tasks/QA3D-2332-QAS - Removes or ends the task with taskId QA3D-2332-QAS

Result

  • 200 OK - The task was removed from queue or processing by agent was completed.
  • 404 Not Found - The task was not found in a queue or as if being processed by an agent.
  • 500 Internal Server Error - Internal processing error.