Update
POST /v1/competitions/update
Changes any rule of a competition at any time before it ends, also while it runs. Pass the id and only the fields you want to change, with the same values as in Create a competition.
Each real change raises rules_version by one, is recorded in the rules history with the phase it happened in and your note, and is sent as the competition.updated webhook. Fields sent with their current value are not a change; if nothing changes, the competition is returned as it is.
- Changing
duration_hourswhile running movesends_attostarted_atplus the new duration. - Switching
enrollmenttoall_usersenters every platform user. - New metrics, minimums and wallet rules apply from the next standings computation.
string
required
The competition id.
string
Why you changed it, at most 500 characters. Shown in the rules history and the webhook.
any
The fields to change. At least one.
Cancel
POST /v1/competitions/cancel
Cancels a scheduled, waiting or running competition. Its status becomes cancelled, it no longer counts towards your 5 open competitions, and the competition.ended webhook is sent with "cancelled": true and no results.
string
required
The competition id.
cancelled.
Errors
See Errors for the full list.

