PUT/v2/projects/{projectId}/translation-memories/project-tm-settings

Update project translation memory settings

Updates the write-only-reviewed setting for a project's own translation memory. Set writeOnlyReviewed to control whether only translations in the REVIEWED state are written to that memory. When enabled, translations that move back to TRANSLATED or UNTRANSLATED also remove their entry; TMX imports and direct translation memory browser edits bypass this filter.

1 parameter · 1 body field
projectIdintegerrequired
The numeric identifier of the project whose own translation memory settings to update.

Settings for the project's own project-type translation memory.

writeOnlyReviewedbooleanrequired
When true, only translations whose state is REVIEWED are written to this project's own TM. Translations that drop back to TRANSLATED or UNTRANSLATED also remove the entry. TMX import and direct TM-browser edits bypass this filter.

5 status codes
200Confirms that the project's translation memory setting was updated.
400Returned when the request is invalid, including when `writeOnlyReviewed` is missing or is not a boolean.
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 the authenticated user is not permitted to update the setting.
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 project or its project-type translation memory is not 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 the request is unauthenticated, a 403 when the authenticated user cannot change the setting, and a 404 when the project or its project-type translation memory is not found. The projectId path parameter must identify the project. The request body must include writeOnlyReviewed as a boolean.