---
title: "Complete a league season"
method: POST
path: "/leagues/{identifier}/seasons/{seasonId}/complete"
tags: ["League: Seasons"]
---

# Complete a league season

`POST /leagues/{identifier}/seasons/{seasonId}/complete`

## Request

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

Completes an active 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 is no longer active.

## Path parameters

- `identifier` string, required: League slug.
- `seasonId` string, required: League season ID.

## Response `200`

The season was completed.

- CompleteLeagueSeasonResponse
  - `success` true, required
  - `timestamp` string, required

## Other responses

- `400`: Bad request (invalid body, cursor, limit, or date).
- `401`: Missing or invalid API key.
- `403`: API key lacks the required permission.
- `404`: Resource not found.
- `429`: Rate limited.
- `500`: Internal server error.

## Changes

- **2026-06-10** `82f2480cdb83`: 2 info
  - api tag `League: Seasons` added
  - api tag `Leagues` removed
- **2026-06-07** `ca335a5932cc`: 1 info
  - endpoint added
- **2026-06-04** `f22bd61fd595`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/teambattles/apis/teambattles-api/changes/leagues/:identifier/seasons/:seasonId/complete/post.md)

---

[API](https://skmtc.dev/teambattles/apis/teambattles-api.md) - [All operations](https://skmtc.dev/teambattles/apis/teambattles-api/llms.txt) - [OpenAPI document](https://skmtc.dev/teambattles/apis/teambattles-api/revisions/75b07daef7dc?raw)
