curl --request PUT \
--url https://cloud.memsource.com/web/api2/v1/projects/{projectUid}/mtSettingsPerLanguage \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"mtSettingsPerLangList": [
{
"targetLang": "<string>"
}
]
}
'{
"mtSettingsPerLangList": [
{
"targetLang": "<string>",
"machineTranslateSettings": {
"id": "<string>",
"uid": "<string>",
"baseName": "<string>",
"name": "<string>",
"type": "<string>",
"category": "<string>",
"default_": true,
"includeTags": true,
"mtQualityEstimation": true,
"enabled": true,
"args": {},
"langs": {
"id": "<string>",
"sourceLang": "<string>",
"targetLangs": [
"<string>"
]
}
}
}
]
}This will erase mtSettings for project
curl --request PUT \
--url https://cloud.memsource.com/web/api2/v1/projects/{projectUid}/mtSettingsPerLanguage \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"mtSettingsPerLangList": [
{
"targetLang": "<string>"
}
]
}
'{
"mtSettingsPerLangList": [
{
"targetLang": "<string>",
"machineTranslateSettings": {
"id": "<string>",
"uid": "<string>",
"baseName": "<string>",
"name": "<string>",
"type": "<string>",
"category": "<string>",
"default_": true,
"includeTags": true,
"mtQualityEstimation": true,
"enabled": true,
"args": {},
"langs": {
"id": "<string>",
"sourceLang": "<string>",
"targetLangs": [
"<string>"
]
}
}
}
]
}Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.
Show child attributes
successful operation
Show child attributes
Was this page helpful?