v20

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-011984401.2 MB
League: Rules & Config

Update league cooldown config

Updates the league member cooldown configuration. Requires a personal or developer API key whose owner is currently a league ADMIN of the league in the path, with the league rules capability enabled on the key (league-wide cooldown policy is a config-admin write, deliberately separated from the per-member cooldowns capability). League API access is gated at api_pro on the league owner's plan.

post/leagues/{identifier}/cooldowns/config/update

Path parameters

identifierstring required

League slug or Convex league ID.

League slug or Convex league ID.

Request body

selfLeaveCooldownHoursnumber
kickCooldownHoursnumber
repeatLeavePenaltyEnabledboolean
repeatLeaveCooldownMultipliernumber
maxCooldownHoursnumber

Response

The league cooldown config was updated.

successtrue required
timestampstring required