Skip to content

Update a translation

PUT
/translations/{translation_key}

Authorizations

bearerToken|siteContext
bearerToken

Personal access token tied to a user account. Requires the X-Nimbu-Site header to scope requests.

TypeHTTP (bearer)
+
siteContext

Identifier of the site context when authenticating with a personal access token.

TypeAPI Key (header: X-Nimbu-Site)
or
siteToken

Site-scoped API token that already encodes the site context.

TypeHTTP (bearer)

Parameters

Path Parameters

translation_key*

Translation key or id

Typestring
Required

Request Body

application/json
JSON
{
"key": "string",
"value": "string",
"values": {
"additionalProperties": "string"
}
}

Responses

translation updated

application/json
JSON
{
"id": "string",
"url": "string",
"key": "string",
"created_at": "string",
"updated_at": "string",
"value": "string",
"values": {
"additionalProperties": "string"
},
"from_template": true
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Part of Nimbu, built by Zenjoy.