---
title: "Replace complete authored changelog locale draft"
method: PUT
path: "/api/admin/changelog/{slug}/locales/{locale}"
tags: ["Admin"]
---

# Replace complete authored changelog locale draft

`PUT /api/admin/changelog/{slug}/locales/{locale}`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/admin/changelog/{slug}/locales/{locale}`
- Auth: HTTP bearer

Human-authored content only, never machine-translated. Every save resets draft review unless the saving moderator attests reviewed: true. Live snapshot and published review provenance are unchanged. Parent row is locked.

## Path parameters

- `slug` string, required
- `locale` 'fr-CH' | 'it-IT', required

## Request body

- object
  - `content` ChangelogLocaleContent, required
    - `dateLabel` string, required
    - `title` string, required
    - `titlePlatform` 'ios' | 'android' | 'all', nullable, required
    - `tags` union[], required
      - union
        - string
        - object
          - `label` string, required
          - `platform` 'ios' | 'android' | 'all'
    - `sections` object[], required
      - `heading` string
      - `body` string
      - `platform` 'ios' | 'android' | 'all'
      - `bullets` union[]
        - union
          - string
          - object
            - `text` string, required
            - `platform` 'ios' | 'android' | 'all'
  - `reviewed` boolean

## Response `200`

{ success: true, data: variant row } — JSON draft/published, draftReviewed, reviewedAt/By, publishedReviewedAt/By, draftUpdatedBy, publishedAt/By, version, timestamps.

## Other responses

- `400`: Invalid slug, exact locale, complete snapshot or review state
- `401`: Not authenticated
- `403`: Platform moderator/admin/superadmin required; team scope is insufficient
- `404`: Parent content not found (an absent locale is created by PUT; clearing an absent locale succeeds).
- `500`: Database/internal error; mutations never silently fall back

## Changes

- **2026-11-18** `6de639c52609`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/admin/changelog/:slug/locales/:locale/put.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
