curl --request PUT \
--url https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"langs": [
"<string>"
],
"name": "<string>",
"note": "<string>",
"sourceUrl": "<string>"
}
'import requests
url = "https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid}"
payload = {
"langs": ["<string>"],
"name": "<string>",
"note": "<string>",
"sourceUrl": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({langs: ['<string>'], name: '<string>', note: '<string>', sourceUrl: '<string>'})
};
fetch('https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'langs' => [
'<string>'
],
'name' => '<string>',
'note' => '<string>',
'sourceUrl' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid}"
payload := strings.NewReader("{\n \"langs\": [\n \"<string>\"\n ],\n \"name\": \"<string>\",\n \"note\": \"<string>\",\n \"sourceUrl\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"langs\": [\n \"<string>\"\n ],\n \"name\": \"<string>\",\n \"note\": \"<string>\",\n \"sourceUrl\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"langs\": [\n \"<string>\"\n ],\n \"name\": \"<string>\",\n \"note\": \"<string>\",\n \"sourceUrl\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"name": "<string>",
"businessUnit": {
"id": "<string>",
"name": "<string>",
"uid": "<string>"
},
"canShow": true,
"client": {
"id": "<string>",
"name": "<string>",
"uid": "<string>"
},
"createdBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"role": "SYS_ADMIN",
"uid": "<string>",
"userName": "<string>"
},
"dateCreated": "2023-11-07T05:31:56Z",
"domain": {
"id": "<string>",
"name": "<string>",
"uid": "<string>"
},
"id": "<string>",
"internalId": 123,
"langs": [
"<string>"
],
"note": "<string>",
"owner": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"role": "SYS_ADMIN",
"uid": "<string>",
"userName": "<string>"
},
"readonly": true,
"sourceUrl": "<string>",
"subDomain": {
"id": "<string>",
"name": "<string>",
"uid": "<string>"
},
"uid": "<string>",
"userAllowedOperations": [
"<string>"
]
}Edit term base
Adding new languages is always possible. Since release 26.19.3 (deployed 2026-09-17), languages omitted from langs are removed; before that they were silently ignored. A language can only be removed when the term base has no terms and is not assigned to any project or project template; otherwise the request fails with TermBaseInvalidInput and no language is removed; the error message names the languages that would be removed. Every update, including edits of the name or other fields, must resubmit the full language list, because an omitted language counts as a removal. Language codes are accepted as de-DE or de_DE, and are returned lowercase with underscores (de_de), listed alphabetically. An unsupported language code in langs fails with InvalidArguments, the message names the unsupported codes and errorDetails lists each one as UNSUPPORTED_LOCALE with args.field and args.value (the code as submitted). Governs the term base resource itself (name, languages, ownership, whole-term-base deletion) via account-level term-base rights. This is distinct from the per-term content permissions on the terms/concepts endpoints below, which also allow LINGUIST users assigned to the project (see createTerm/updateTerm/deleteTerm). Term base only; does not accept a glossary UID. Glossaries have their own dedicated account-level CRUD under /api2/v1/glossaries.
curl --request PUT \
--url https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"langs": [
"<string>"
],
"name": "<string>",
"note": "<string>",
"sourceUrl": "<string>"
}
'import requests
url = "https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid}"
payload = {
"langs": ["<string>"],
"name": "<string>",
"note": "<string>",
"sourceUrl": "<string>"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({langs: ['<string>'], name: '<string>', note: '<string>', sourceUrl: '<string>'})
};
fetch('https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'langs' => [
'<string>'
],
'name' => '<string>',
'note' => '<string>',
'sourceUrl' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid}"
payload := strings.NewReader("{\n \"langs\": [\n \"<string>\"\n ],\n \"name\": \"<string>\",\n \"note\": \"<string>\",\n \"sourceUrl\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"langs\": [\n \"<string>\"\n ],\n \"name\": \"<string>\",\n \"note\": \"<string>\",\n \"sourceUrl\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.memsource.com/web/api2/v1/termBases/{termBaseUid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"langs\": [\n \"<string>\"\n ],\n \"name\": \"<string>\",\n \"note\": \"<string>\",\n \"sourceUrl\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"name": "<string>",
"businessUnit": {
"id": "<string>",
"name": "<string>",
"uid": "<string>"
},
"canShow": true,
"client": {
"id": "<string>",
"name": "<string>",
"uid": "<string>"
},
"createdBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"role": "SYS_ADMIN",
"uid": "<string>",
"userName": "<string>"
},
"dateCreated": "2023-11-07T05:31:56Z",
"domain": {
"id": "<string>",
"name": "<string>",
"uid": "<string>"
},
"id": "<string>",
"internalId": 123,
"langs": [
"<string>"
],
"note": "<string>",
"owner": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"role": "SYS_ADMIN",
"uid": "<string>",
"userName": "<string>"
},
"readonly": true,
"sourceUrl": "<string>",
"subDomain": {
"id": "<string>",
"name": "<string>",
"uid": "<string>"
},
"uid": "<string>",
"userAllowedOperations": [
"<string>"
]
}Authorizations
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.
Body
Response
OK
Was this page helpful?