Skip to content

Cancel Tasks in a Batch

Cancel tasks in a batch by a list of task execution codes.

  • Name: Batch-cancel tasks
  • Description: Cancels multiple task executions.
  • Method: POST
  • Path: remoteApi/batchCancelTask
  • Login required: No
  • Permission required: Yes

Note: The robot must be in task mode.


  • taskExecuteCodeList · List<String> · Required

    List of task execution codes; see the field examples below.

taskExecuteCodeList

[
"ysc001_2017053614274048000_20260211160027_4ps6"
]
{
"taskExecuteCodeList": [
"ysc001_2017481219485192192_20260131143831_yzcd",
"ysc001_2017481219485192192_20260131143654_yhxa"
]
}
FieldTypeExampleDescription
codeInteger200Status code
successBooleantrueWhether the request succeeded
msgStringsuccessResponse message
{
"success": true,
"code": 200,
"msg": "Operation succeeded",
"data": null
}
CodeDescription
400Invalid parameters
401Unauthorized
403Access denied
404Resource not found
500Internal server error