Skip to main content

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

FieldTypeRequiredDescription
botIdsstring[]yes1–100 bot ObjectIds, no duplicates.

Response 200

{ "message": "Bots resumed" }

Errors

StatusMeaning
400No matching paused bots.
404Some 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>"] }'