---
title: "PUT /language/{lang}/{key} - Languages · RUAL Documentation"
description: "PUT: Update a language translation key"
canonical: https://docs.rual.nl/cluster/api/languages/language--lang---key-put
language: en
---

# PUT /language/{lang}/{key}

Update a language translation key

| Key | Type | Example | Description |
| --- | --- | --- | --- |
| **lang** required | `string` | `"example"` |  |
| **key** required | `string` | `"example"` |  |

| Key | Type | Example | Description |
| --- | --- | --- | --- |
| **[authorization](https://docs.rual.nl/cluster/api#token-providing)** required | `string` | `"Bearer access_token"` | Access token |

| Key | Type | Example | Description |
| --- | --- | --- | --- |
| **value** optional | `string` | `"enabled"` |  |

```
{}
```

```
{
  "code": 401,
  "error": "INVALID_ACCESS_TOKEN"
}
```

| Status | Error Code | Description |
| --- | --- | --- |
| `401` | `INVALID_ACCESS_TOKEN` | Authentication required or invalid token |
| `403` | `INSUFFICIENT_PERMISSIONS` | Insufficient permissions for this operation |

| Permission | Description |
| --- | --- |
| `Bearer token` | Access token required via Authorization header, x-authtoken, x-token, query param, or cookie |
| `language_update` | Required scope: language_update |
