PATCH /flexi/resume/bulk
Resume multiple paused bots.
Bots resume executing swaps on the next cycle.
Use case
Resume a group of previously paused bots to continue their work.
Body
| Field | Type | Required | Description |
|---|---|---|---|
botIds | string[] | yes | 1–100 bot ObjectIds, no duplicates. |
Response 200
{ "message": "Bots resumed" }
Errors
| Status | Meaning |
|---|---|
400 | No matching paused bots. |
404 | Some ids missing; response includes missing. |
Example
curl -X PATCH "$BASE_URL/flexi/resume/bulk" \
-H "Authorization: Bearer $ACCESS" \
-H "x-user-id: $USER_ID" \
-H "Content-Type: application/json" \
-d '{ "botIds": ["<id1>", "<id2>"] }'