League: Moderation
Revoke A League Team Ban
Revoke an active league team ban.
POST
Permission Required
This endpoint requires a league-operator API key bound to this league with thebans league capability, plus the leagueOperatorApi plan feature (api_pro or higher). A free key receives 403 error_api_feature_required.
Access / Membership Rules
You must have a MANAGER or higher role in the league (or be a TeamBattles staff member) to revoke a ban. If you lack the required access, you’ll receive a403 error.
The {identifier} path parameter is the league slug - the URL-friendly league name (e.g., my-league). The ban referenced by {banId} must belong to the bound league.
What’s Returned
Revokes an active league team ban. On success the response is{ "success": true, "timestamp": "<ISO 8601>" }.
Request Body
The request body is optional - send an empty body, or include a revocation reason.| Parameter | Type | Required | Description |
|---|---|---|---|
reason | string | No | Optional revocation reason (up to 500 characters). |
Authorizations
Send your API key as: Authorization: Bearer tb_
Path Parameters
League slug or Convex league ID.
League ban ID.
Body
application/json
Optional reason for revoking a league ban.
Optional revocation reason.
Maximum string length:
500