Update a synonyms file
import requests
url = "https://{FUSION HOST}/api/collections/{collection}/synonyms/{path}"
payload = { "path": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)This response has no body data.Update a synonyms file
Change a synonyms file’s state.
PUT
/
collections
/
{collection}
/
synonyms
/
{path}
Update a synonyms file
import requests
url = "https://{FUSION HOST}/api/collections/{collection}/synonyms/{path}"
payload = { "path": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)This response has no body data.Was this page helpful?
⌘I