PUT/v2/projects/{projectId}/translations/{translationId}/dismiss-auto-translated-state

Dismiss the auto-translated indication

Removes the auto-translated indication from a translation. Use projectId and translationId to identify the translation whose indication you want to dismiss. The response includes the updated translation state.

2 parameters
translationIdintegerrequired
The int64 identifier of the translation whose auto-translated indication you want to dismiss.
projectIdintegerrequired
The int64 identifier of the project containing the translation.

5 status codes
200Returns the updated translation, including its identifier, auto-translated flag, outdated flag, and state.
autobooleanrequired
Was translated using Translation Memory or Machine translation service?
idintegerrequired
Id of translation record
mtProviderstringoptional
Which machine translation service was used to auto translate this
Allowed:GOOGLEAWSDEEPLAZUREBAIDUPROMPT
outdatedbooleanrequired
Whether base language translation was changed after this translation was updated
statestringrequired
State of translation
Allowed:UNTRANSLATEDTRANSLATEDREVIEWEDDISABLED
textstringoptional
Translation text
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 modify the translation.
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 or translation 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 modify the translation. A 404 is returned when the specified project or translation cannot be found.