Menu

Cancel/Re-execute Scheduled Task

Usage Instructions

Cancel/Re-execute Scheduled Task. Tasks that have failed or are completed cannot be modified.

Request Instructions

  • Method: POST
  • Endpoint: /api/v1/automation/setTaskStatus

Request Parameters

Parameter Type Required Description
ids array Yes Task IDs, can be obtained from the scheduled task list
status int Yes Status: 0 Re-execute;5 Cancel Execution

Request Example

json Copy
{
    "ids": ["xxx","xxx"],
    "status": 5
}

Response Example

json Copy
{
    "code": 200,
    "data": {
        "success": ["xxx"],   // ID of the successful execution
        "fail": ["xxx"],      // ID of the failed execution
        "fail_reason": {
            "xxx": "xxxxx"    // Failure reason
        }
    },
    "message": "Success"
}
Previous
Modify Scheduled Task Publish Time
Next
Automated Parameter Documentation
Last modified: 2026-01-23Powered by