PUT/v2/organizations/{organizationId}/translation-memories/{translationMemoryId}/entries/{entryId}

Replace a translation memory entry

Replaces the source text and target translation details for a translation memory entry. Provide sourceText, targetLanguageTag, and targetText in each request because this is a full replacement. The target language tag must be 1 to 20 characters and must not contain a comma.

3 parameters · 3 body fields
organizationIdintegerrequired
The integer identifier of the organization that owns the translation memory.
translationMemoryIdintegerrequired
The integer identifier of the translation memory containing the entry.
entryIdintegerrequired
The integer identifier of the entry to replace.

Replacement source text and target translation details for the entry.

sourceTextstringrequired
Source text (in the TM's source language)
targetLanguageTagstringrequired
Target language tag according to BCP 47 definition
targetTextstringrequired
Target translation text

5 status codes
200Returns the updated entry's ID, source text, target language tag, target text, creation timestamp, and last update timestamp.
createdAtintegerrequired
Creation timestamp
idintegerrequired
sourceTextstringrequired
Source text in the TM's source language
targetLanguageTagstringrequired
Target language tag (BCP 47)
targetTextstringrequired
Translated target text
updatedAtintegerrequired
Last update timestamp
400Returned when a required body value is missing or a field violates its length or pattern constraint.
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 authentication is missing or 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
403Returned when the authenticated user does not have access to the requested resource.
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 organization, translation memory, or entry 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 for an invalid request body, a 401 when authentication is missing or invalid, and a 403 when the authenticated user lacks access. A 404 is returned when the organizationId path parameter, translationMemoryId path parameter, or entryId path parameter does not identify an available resource. The body must include sourceText, targetLanguageTag, and targetText; text values must be at most 10,000 characters, and targetLanguageTag must be 1 to 20 characters without a comma.