Bulk action on runs
POST/api/v3/runs/bulk
One action on up to 200 of your runs, each as its single endpoint does it: abort (a READY run is aborted at once, a RUNNING one stops on its runner's next heartbeat) or resurrect (on its own storages and options; limits, balance and concurrency are checked per run). A run that cannot take it (abort: already finished; resurrect: still active, storages gone, refused) is listed in failed and the rest go on. Ids that are not your runs or repeated: 422, nothing changed. 20 a minute
Request
Responses
- 200
- 422
{ data: { affected, failed: [{ id, error }] } }
Invalid ids or action