---
title: "Update league points config"
method: POST
path: "/leagues/{identifier}/points/update"
tags: ["League: Rules & Config"]
---

# Update league points config

`POST /leagues/{identifier}/points/update`

Creates or updates the points configuration for a league game. Requires a personal or developer API key whose owner is currently a league ADMIN of the league in the path, with the league points capability enabled on the key. League API access is gated at api_pro on the league owner's plan.

## Path parameters

- `identifier` string, required — League slug or Convex league ID.

## Request body

- UpdatePointsConfigRequestBody — Updates league points configuration.
  - `gameId` string, required — Game ID whose points config should change.
  - `unitLabel` 'POINTS' | 'EXPERIENCE'
  - `baseWin` number
  - `baseLoss` number
  - `baseDraw` number
  - `allowNegative` boolean
  - `streakBonusEnabled` boolean
  - `streakBreakpoints` object[]
    - `count` number, required
    - `bonus` number, required
  - `challengerWinBonus` number
  - `challengedWinBonus` number
  - `forfeitPenalty` number
  - `challengeRefuseAdditionalPenalty` number
  - `challengeCancelGracePeriodHours` number
  - `matchupCooldownHours` number
  - `scrimmageAwardsPoints` boolean

## Response `200`

The league points config was updated.

- UpdatePointsConfigResponse
  - `success` true, required
  - `configId` string, 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.
- `409` — Conflict.
- `429` — Rate limited.
- `500` — Internal server error.

---

[API](https://skmtc.net/teambattles/apis/teambattles-api.md) · [All operations](https://skmtc.net/teambattles/apis/teambattles-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/teambattles/teambattles-api/versions/2ffe8fb53b7d/schema)
