DELETE/v2/projects/{projectId}/translation-memories/{translationMemoryId}

Unassign a shared translation memory from a project

Removes the assignment between a project and a shared translation memory. Use this operation when the project should no longer read from or write to that shared memory. The translation memory and its entries remain available to other projects.

2 parameters
translationMemoryIdintegerrequired
The numeric identifier of the shared translation memory to unassign.
projectIdintegerrequired
The numeric identifier of the project from which to unassign the translation memory.

5 status codes
200Confirms that the assignment was removed; the shared translation memory and its entries remain intact.
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 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 change the 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 project or 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 assignment, and a 404 when the project or translation memory is not found. The translationMemoryId and projectId path parameters must identify the shared memory and project assignment to remove.