League: Seasons

Delete a league season

Deletes an upcoming league season. Requires a personal or developer API key whose owner is currently a league ADMIN of the league in the path, with the league seasons capability enabled on the key. League API access is gated at api_pro on the league owner's plan. Replays are not deduped; existing state guards return the current state error if the season no longer exists or is no longer upcoming.

delete/leagues/{identifier}/seasons/{seasonId}

Request

  • Base URL
    https://teambattles.gg/api/v1
  • URL
    https://teambattles.gg/api/v1/leagues/{identifier}/seasons/{seasonId}
  • Auth
    HTTP bearer

Path parameters

identifierstring required

League slug or Convex league ID.

seasonIdstring required

League season ID.

Response

The season was deleted.

successtrue required
timestampstring required

Changes