Skip to main content
PATCH
Update a translation memory

Authorizations

Authorization
string
header
required

API token: tsu_pat_… (PAT) or tsu_proj_… (project token). The token's granted RBAC permissions determine access; see each operation's x-permission.

Path Parameters

tmId
string
required

Translation memory id (UUID) or id-embedded path slug.

Body

application/json
name
string

New name for the translation memory.

Required string length: 1 - 100
Example:

"Marketing TM"

description
string | null

New description, or null to clear it.

Maximum string length: 500
Example:

"Reusable copy for marketing surfaces."

sourceLanguage
string | null

New source-language code, or null to clear it. Pair with rebaseSourceData to migrate entries.

Maximum string length: 10
Example:

"en"

scope
enum<string>

all = every project may leverage it; selected = only assigned projects.

Available options:
all,
selected
Example:

"all"

approvalRequired
boolean

When true, entry translations by non-approvers are stored as proposals.

Example:

false

approvalBypassAdmins
boolean

When true, org admins' edits are auto-approved even while approval is required.

Example:

false

minMatchPercentage
integer

Minimum match % below which fuzzy matches are not surfaced (floor 40).

Required range: 40 <= x <= 100
Example:

75

penalties
object

Per-difference score deductions applied to near-exact matches.

rebaseSourceData
boolean

When changing sourceLanguage, also move existing entry data to the new source (rebase). Not persisted.

Example:

false

Response

The updated translation memory.

success
boolean
required
data
object
required