Common

Cancel tasks by id

post/api/v1/cancel/

Request body

task_idsstring[] required

Example request

{
  "task_ids": [
    "550e8400-e29b-41d4-a716-446655440000",
    "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
  ]
}

Response

OK

resultobject required

Example response

{
  "result": {
    "550e8400-e29b-41d4-a716-446655440000": {
      "status": "success"
    },
    "6ba7b810-9dad-11d1-80b4-00c04fd430c8": {
      "error": "Task is not in progress state",
      "status": "server_error"
    }
  }
}

Changes

No recorded changes to this endpoint across all 2 revisions of this API.