update_key
:
Instructions
Update an existing translation key's metadata: name, description, or HTML/pluralization settings. Only the fields you provide are changed — omitted fields stay as-is. Important: this does NOT modify translations. Use set_translation to change translated content. Returns { "message": "Key updated" } on success (not the full key object — call get_key afterward if you need the updated key data).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The Texterify project UUID. You can find this value in the project's texterify.json file under the 'project_id' field | |
| key_id | Yes | The UUID of the key to update. Get this from list_keys or get_key responses | |
| name | No | New key name. Must be unique within the project. Omit to leave unchanged | |
| description | No | New description to help translators understand context. Omit to leave unchanged | |
| html_enabled | No | Whether translation values for this key can contain HTML markup. Omit to leave unchanged | |
| pluralization_enabled | No | Whether this key supports CLDR plural forms (zero, one, two, few, many). Omit to leave unchanged |