/v2/projects/{projectId}/translation-memories/{translationMemoryId}Assign a shared translation memory to a project
Assigns a shared translation memory to a project and configures its access and suggestion priority. Set readAccess and writeAccess to control whether the project reads from or writes to the memory; you can also set a penalty override and priority. The response provides the resulting assignment settings.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Access and suggestion settings for the shared translation memory assignment. Include both access flags; penalty and priority are optional.
A 400 is returned when the assignment request is invalid, a 401 when the request is unauthenticated, a 403 when the authenticated user cannot assign the memory, and a 404 when the project or translation memory is not found. The translationMemoryId and projectId path parameters must identify the memory and project. The body must include readAccess and writeAccess; penalty must be from 0 to 100 and priority must be at least 0 when supplied.