Skip to main content

PATCH /flexi/cancel/all

Cancel every initiated bot (status '1') for this user.

Only touches INITIATED bots (never paid). Running bots are unaffected — use /flexi/stop/* for those.

Use case

User abandoned a setup flow and wants to clear pending bots before starting a new group.

Body

None.

Response 200

{ "message": "All bots canceled. Count of canceled bots: 5" }

Errors

StatusMeaning
400Nothing to cancel.

Example

curl -X PATCH "$BASE_URL/flexi/cancel/all" \
-H "Authorization: Bearer $ACCESS" \
-H "x-user-id: $USER_ID"