---
title: "PUT /api/locales/{localeCode}"
method: PUT
path: "/api/locales/{localeCode}"
tags: ["Locale"]
---

# PUT /api/locales/{localeCode}

`PUT /api/locales/{localeCode}`

## Request

- Base URL: `https://api.justgains.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.justgains.com/api/locales/{localeCode}`
- Auth: HTTP bearer

## Path parameters

- `localeCode` string, required

## Request body

- LocaleDto
  - `LocaleCode` string, nullable, required
  - `LocaleName` string, nullable
  - `Published` boolean
  - `LocaleIcon` MediaAssetIdRequest
    - `MediaId` string, uuid

## Response `200`

OK

---

[API](https://skmtc.dev/justgains/apis/justgains-api.md) · [All operations](https://skmtc.dev/justgains/apis/justgains-api/llms.txt) · [OpenAPI document](https://skmtc.dev/justgains/apis/justgains-api/revisions/760a5b1773a7?raw)
