PUT
/v2/projects/{projectId}/translations/{translationId}/label/{labelId}Add a label to a translation
Assigns a label to a translation. Identify the translation and label with translationId and labelId within the specified projectId. The response returns details for the assigned label.
translationIdintegerrequired
The int64 identifier of the translation to assign the label to.
labelIdintegerrequired
The int64 identifier of the label to assign.
projectIdintegerrequired
The int64 identifier of the project containing the translation and label.
200Returns the assigned label's color, identifier, name, and description when available.
colorstringrequired
descriptionstringoptional
idintegerrequired
namestringrequired
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request does not have valid authentication.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have permission to assign the label.
codestringrequired
paramsarray<object>optional
404Returned when the specified project, translation, or label cannot be found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid. A 401 is returned when the request has no valid authentication, and a 403 is returned when the authenticated user lacks permission to assign the label. A 404 is returned when the specified project, translation, or label cannot be found.