---
title: "Update a site language"
method: PATCH
path: "/sites/{siteId}/languages/{variant}"
tags: ["Languages"]
---

# Update a site language

`PATCH /sites/{siteId}/languages/{variant}`

## Request

- Base URL: `https://api.universally.com`
- URL: `https://api.universally.com/sites/{siteId}/languages/{variant}`
- Auth: API key in header `X-API-Key`

Updates settings for one of the site's languages.

## Path parameters

- `siteId` string, required
- `variant` string, required

## Request body

- object
  - `region` string
  - `url` string

## Response `200`

Success

- object
  - `success` boolean
  - `data` unknown
  - `message` string, nullable
  - `code` string

## Other responses

- `default`: Error

---

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