Returns team bans for a specific league with optional status filtering. Requires API key with leagues.league_admin permission. The user must have MANAGER+ role in the league or be TB staff.
leagues.league_admin permission on your API key.
403 error.
{identifier} path parameter accepts the league slug - the URL-friendly league name (e.g., my-league).
leagues.league_admin permission and MANAGER+ league role.| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | No | Filter by ban status: active, expired, revoked, or all |
| Status | Description |
|---|---|
active | Ban is currently in effect |
expired | Ban has passed its expiration date |
revoked | Ban was manually revoked by staff |
all | Returns bans of all statuses |
API key authentication. Generate an API key from Settings > Developer in the TeamBattles app. Format: tb_xxxxxxxx...
League slug
Optional status filter
Filter by ban status
active, expired, revoked, all