Translation keys
Update translation key by ID
Changed onUpdates 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
- Base URLhttps://api.simplelocalize.io
- AuthAPI key in header X-SimpleLocalize-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Request body
Response
OK
Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
- info
endpoint added
- info