Update players
update_playerRename a player or set their gender/level/note. Updates MANY in one call: pass updates with one object per player and never loop one-by-one — setting levels for a whole roster used to be one call per player, which on a phone meant approving each one and left the roster half-updated when some were mis-tapped. The whole batch applies or none of it does.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Free note shown on the tournament page. Pass an empty string to clear it. | |
| level | No | Any consistent numeric level/rating — used only for seeding and balancing | |
| gender | No | ||
| updates | No | Bulk edit — e.g. levels for a whole roster in one call | |
| new_name | No | ||
| request_id | No | Optional idempotency id — retrying a call with the same id never applies it twice | |
| player_name | No | Single update; or use `updates` for several | |
| tournament_key | Yes | The tournament's organiser key (starts with tk_) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player | No | ||
| players | Yes | ||
| preview | No | True when this is a preview — nothing was changed | |
| summary | Yes | What happened, in one line |