Keys
Multi-update
Updates one or more keys in the project. Requires Manage keys admin right.
Ad hoc documents projects (paged_documents) only allow updating <code>tags</code> (with <code>merge_tags</code>), <code>description</code>, <code>is_hidden</code>, <code>char_limit</code> and <code>custom_attributes</code> per key; any other property is rejected for that key in the response <code>errors</code> array (the request still returns <code>200</code>).
Requires <code>write_keys</code> OAuth access scope.
put/projects/{project_id}/keys
Request
- Base URLhttps://api.lokalise.com/api2
- URLhttps://api.lokalise.com/api2/projects/{project_id}/keys
- AuthAPI key in header X-Api-Token
Path parameters
project_idstring required
A unique project identifier
Request body
Example request
{
"keys": [
{
"translations": [
{
"translation": "single-value"
}
]
}
]
}Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.