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

Update a shared translation memory

Updates a shared translation memory's name, source language, penalty settings, review-only write behavior, or project assignments. Supply name and sourceLanguageTag; include other fields to set their values as part of the update. Project assignments specify whether each project can read from or write to the memory.

2 parameters · 5 body fields
organizationIdintegerrequired
The unique numeric identifier of the organization that owns the shared translation memory.
translationMemoryIdintegerrequired
The unique numeric identifier of the shared translation memory to update.

Translation memory settings to update. name and sourceLanguageTag are required; other fields configure penalties, review-only writes, and project assignments.

assignedProjectsarray<object>optional
Project assignments with access settings.
defaultPenaltyintegeroptional
Default penalty (0–100) subtracted from match scores for every assignment that does not define its own override. Defaults to 0.
namestringrequired
Translation memory name
sourceLanguageTagstringrequired
Source language tag according to BCP 47 definition
writeOnlyReviewedbooleanoptional
When true, only translations whose state is REVIEWED are written to this TM. Translations that drop back to TRANSLATED or UNTRANSLATED also remove the entry. TMX import and direct TM-browser edits bypass this filter. Defaults to false.

5 status codes
200Returns the updated translation memory, including its identifier, name, source language, type, default penalty, review-only write setting, and organization owner.
defaultPenaltyintegerrequired
Default penalty (0–100) subtracted from match scores for every assignment that does not define its own override.
idintegerrequired
namestringrequired
organizationOwnerobjectrequired
sourceLanguageTagstringrequired
Source language tag of the translation memory
typestringrequired
Allowed:PROJECTSHARED
writeOnlyReviewedbooleanrequired
When true, only translations in REVIEWED state contribute to this TM.
400Returned when the request is invalid or a body value fails validation.
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 is unauthenticated.
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 access to the organization or operation is forbidden.
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 or translation memory 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 when authentication is missing or invalid, a 403 when access is forbidden, and a 404 when the organization or translation memory cannot be found. name and sourceLanguageTag are required; name must be 1–100 characters, and sourceLanguageTag must be 1–20 characters with no commas. defaultPenalty and each assignment's penalty must be between 0 and 100; each assignedProjects item must include projectId, readAccess, and writeAccess. The organizationId path parameter identifies the organization, and the translationMemoryId path parameter identifies the memory.