Cancel task
Cancels task with ID: task_id.
POST
/api/tasks/{task_id}/cancelAuthorization
AuthorizationBearer <token>requiredBearer authentication header of the form Bearer <token>, where <token> is your auth token.
In: header
Path Parameters
task_idstring<uuid>requiredResponse Body
Task was cancelled
application/jsonmessagestringoptionalExample
"Task with id: 0fb77979-3efc-402e-b7ba-fe1cd8cbc52d was cancelled."curl -X POST "https://example.com/api/tasks/52921d5c-eb41-45d6-96a8-f2da5616c717/cancel"{ "message": "Task with id: 0fb77979-3efc-402e-b7ba-fe1cd8cbc52d was cancelled."}