League: Moderation
Create a league team ban
Changed onBans a team from the league and removes it from active/pending league participation. Requires a personal or developer API key whose owner is currently a league ADMIN of the league in the path, with the league bans capability enabled on the key. League API access is gated at api_pro on the league owner's plan.
post/leagues/{identifier}/bans/create
Request
- Base URLhttps://teambattles.gg/api/v1
- URLhttps://teambattles.gg/api/v1/leagues/{identifier}/bans/create
- AuthHTTP bearer
Path parameters
identifierstring required
League slug or Convex league ID.
Request body
Response
The league ban was created.
Changes
- info
api tag
League: Moderationadded - info
api tag
Leaguesremoved
- info
- info
endpoint added
- info