Update translation key
Changed onUpdates key, namespace, and/or it's metadata. It throws an error if translation key does not exist or if the new key/namespace combination already exists.
Use query key and namespace parameters to identify the translation key, and update it with the provided values in the request body.
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.
Set lock: true to prevent the translation key from being modified.
To clear the characters limit, set it to -1.
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.
Query parameters
Request body
Response
OK
Changes
- warning
deleted the
headerrequest parameterx-simplelocalize-client - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- warning
- warning
deleted the
headerrequest parameterX-SimpleLocalize-Token - info
the endpoint scheme security
Project API Keywas added to the API - info
the endpoint scheme security
apiKeywas removed from the API - info
added the new optional
headerrequest parameterx-simplelocalize-client - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning