Tournaments (Arena)

Update a team battle

Changed on

Set the teams and number of leaders of a team battle. To update the other attributes of a team battle, use the tournament update endpoint.

post/api/tournament/team-battle/{id}

Request

  • Base URL
    https://lichess.org
  • URL
    https://lichess.org/api/tournament/team-battle/{id}
  • Auth
    OAuth 2
    Authorization code: https://lichess.org/oauth
    Token URL: https://lichess.org/api/token scopes: tournament:write

Path parameters

idstring required

The tournament ID

Request body application/x-www-form-urlencoded

teamsstring required

All team IDs of the team battle, separated by commas. Make sure to always send the full list. Teams that are not in the list will be removed from the team battle. Example: coders,zhigalko_sergei-fan-club,hhSwTKZv

nbLeadersinteger required

Number team leaders per team.

Response

The team battle tournament was successfully updated.

idstring required
fullNamestring required
ratedboolean
berserkableboolean
onlyTitledboolean
minutesinteger
createdBystring
systemstring
secondsToStartinteger
secondsToFinishinteger
isFinishedboolean
isRecentlyFinishedboolean
pairingsClosedboolean
startsAtstring int64
nbPlayersinteger required
allowListstring[]

List of usernames allowed to join the tournament

hasMaxRatingboolean
botsAllowedboolean
minAccountAgeInDaysinteger
descriptionstring
variantstring
myUsernamestring

Changes