Translation keys

Update translation key by ID

Changed on

Updates key, namespace, description and/or code description for a project by Translation Key ID. It throws an error if translation key does not exist or if the new key/namespace combination already exists.

Key, namespace, description and code description are optional fields, and they can be null or empty. Null and empty values are ignored, and they are not updated.

The last seen date is updated automatically even if there is no changes.

Max size of description and code description is 500 characters, otherwise, the endpoint throws an error.

To clear the characters limit, set it to -1.

patch/api/v1/translation-keys/{id}

Request

Path parameters

idstring required

Request body

keystring
namespacestring
descriptionstring
codeDescriptionstring
charactersLimitinteger
deprecatedboolean
lockboolean
tagsstring[]
attributesobject

Response

OK

Changes