Languages

Update region language

PATCH
/organizations/{organizationId}/projects/{projectId}/regions/{regionId}/region-languages/{code}

Sets or clears the customer's own text for keys in one language. Machine translation never replaces it.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
Formatuuid
projectId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
Formatuuid
regionId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
Formatuuid
code*string
Match^[a-z]{2}_([A-Z][A-Za-z]{1,3}|\d{3})$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/regions/497f6eca-6276-4993-bfeb-53cbbbba6f08/region-languages/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "code": "string",  "name": "string",  "direction": "ltr",  "isDefault": true,  "keys": [    {      "key": "consentBanner.acceptButton",      "stock": "string",      "text": "string",      "origin": "custom",      "baseChanged": true    }  ],  "links": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "subcategory": "string",      "name": "string",      "description": "string",      "text": {        "name": "string",        "description": "string"      },      "origin": "custom"    }  ]}