Pause or start the execution of a loop task. Completed tasks cannot be modified.
POST/api/v1/automation/setPlanStatus| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Plan ID,can be obtained from the loop task list |
| status | int | Yes | Status: 0 Paused, 1 Executing |
{
"id": "xxx",
"status": 1
}
{
"code": 200,
"data": {
"id": "xxx" // Plan ID
},
"message": "Success"
}