PUT
/v2/projects/{projectId}/keys/{id}/disabled-languagesSet disabled languages for a localization key
Sets the languages in which a localization key is disabled. Send the language identifiers in languageIds to replace the key's disabled-language selection.
idintegerrequired
The int64 identifier of the localization key.
projectIdintegerrequired
The int64 identifier of the project containing the key.
The disabled-language selection for the key.
languageIdsarray<integer>required
The language identifiers to set as disabled for the key.
200Returns an embedded list of languages in which the key is disabled after the update.
_embeddedobjectoptional
400Returned when the request is invalid or `languageIds` is missing.
codestringrequired
paramsarray<object>optional
401Returned when the request has no valid authentication.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have permission to update the key.
codestringrequired
paramsarray<object>optional
404Returned when the project or key cannot be found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid. A 401 is returned when authentication is missing or invalid. A 403 is returned when the authenticated user lacks access. A 404 is returned when the project or key cannot be found. The id path parameter and projectId path parameter must identify the key and its project. languageIds is required and must contain language identifiers.