Update Synonym Group
curl --request PUT \
--url https://api.cludo.com/api/synonymsgroup \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"groupId": 123,
"words": [
"<string>"
],
"language": "<string>"
}
'import requests
url = "https://api.cludo.com/api/synonymsgroup"
payload = {
"groupId": 123,
"words": ["<string>"],
"language": "<string>"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({groupId: 123, words: ['<string>'], language: '<string>'})
};
fetch('https://api.cludo.com/api/synonymsgroup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'PUT',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({groupId: 123, words: ['<string>'], language: '<string>'})
};
fetch('https://api.cludo.com/api/synonymsgroup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"groupId": 123,
"words": [
"<string>"
],
"language": "<string>"
}{
"groupId": 123,
"words": [
"<string>"
],
"language": "<string>"
}{
"message": "The request could not be processed. Check the request body and required parameters."
}{
"message": "unauthorized"
}{
"message": "<string>"
}{
"status": "InternalServerError",
"code": 500,
"messages": [
"Error occur. Please contact support with error ID: a1b2c3d4-e5f6-7890-abcd-ef1234567890"
]
}Synonyms
Update Synonym Group
Updates a synonym group.
PUT
/
api
/
synonymsgroup
Update Synonym Group
curl --request PUT \
--url https://api.cludo.com/api/synonymsgroup \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"groupId": 123,
"words": [
"<string>"
],
"language": "<string>"
}
'import requests
url = "https://api.cludo.com/api/synonymsgroup"
payload = {
"groupId": 123,
"words": ["<string>"],
"language": "<string>"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({groupId: 123, words: ['<string>'], language: '<string>'})
};
fetch('https://api.cludo.com/api/synonymsgroup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {
method: 'PUT',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({groupId: 123, words: ['<string>'], language: '<string>'})
};
fetch('https://api.cludo.com/api/synonymsgroup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"groupId": 123,
"words": [
"<string>"
],
"language": "<string>"
}{
"groupId": 123,
"words": [
"<string>"
],
"language": "<string>"
}{
"message": "The request could not be processed. Check the request body and required parameters."
}{
"message": "unauthorized"
}{
"message": "<string>"
}{
"status": "InternalServerError",
"code": 500,
"messages": [
"Error occur. Please contact support with error ID: a1b2c3d4-e5f6-7890-abcd-ef1234567890"
]
}Authorizations
Basic authentication. Use your Customer ID as the username and API Key as the password. Example header: Authorization: Basic MTIzNDU2NzpteS1hcGkta2V5.
Body
application/json
Response
Synonym group updated successfully.
Was this page helpful?

