Update a key
Update an existing key.
Authorizations
Enter your token in the format token TOKEN
Headers
Two-Factor-Authentication token (optional)
Body
specify the branch to use
"my-feature-branch"
Key name
"home.index.headline"
Key description (usually includes contextual information for translators)
"Some description worth knowing..."
Indicates whether key supports pluralization
null
Indicates whether key uses ordinal rules for pluralization
null
Plural name for the key (used in some file formats, e.g. Gettext)
"home.index.headlines"
Type of the key. Can be one of the following: string, number, boolean, array, markdown.
"number"
List of tags separated by comma to be associated with the key.
"awesome-feature,needs-proofreading"
Max. number of characters translations for this key can have.
140
Screenshot/image for the key. This parameter is deprecated. Please use the Screenshots endpoint instead.
Indicates whether the screenshot will be deleted. This parameter is deprecated. Please use the Screenshots endpoint instead.
null
Indicates whether the key should be exported as "unformatted". Supported by Android XML and other formats.
null
Indicates whether the key should be exported with "xml:space=preserve". Supported by several XML-based formats.
null
Original file attribute. Used in some formats, e.g. XLIFF.
null
NSStringLocalizedFormatKey attribute. Used in .stringsdict format.
null
NSStringLocalizedFormatKey attribute. Used in .stringsdict format.
null
Updates/Creates custom metadata property name and value pairs to be associated with key. If you want to delete a custom metadata property, you can set its value to null. If you want to update a custom metadata property, you can set its value to the new value.
{ "fruit": "Apple", "vegetable": "Tomato" }
Locales for which translations of this key are excluded from exports. Pass an empty array to clear exclusions.
["de", "fr"]
Override of the value type for the key in the export. Most useful for formats like Android XML that distinguish string vs. plural resources.
"string"
Response
OK
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"username": "johndoe",
"name": "John Doe",
"gravatar_uid": "205e460b479e2e5b48aec07710c08d50"
}