DELETE/v2/projects/{projectId}/translations/{translationId}/label/{labelId}

Remove a label from a translation

Removes a label assignment from a translation. Identify the translation and label with translationId and labelId within the specified projectId. Use this operation when the label should no longer be associated with the translation.

3 parameters
translationIdintegerrequired
The int64 identifier of the translation to remove the label from.
labelIdintegerrequired
The int64 identifier of the label to remove.
projectIdintegerrequired
The int64 identifier of the project containing the translation and label.

5 status codes
200Returns confirmation that the label assignment was removed.
400Returned when the request is invalid.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
401Returned when the request does not have valid authentication.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
403Returned when the authenticated user does not have permission to change the label assignment.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
404Returned when the specified project, translation, or label cannot be found.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
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 change the label assignment. A 404 is returned when the specified project, translation, or label cannot be found.