Modify One Way Synonyms

This method modifies one-way synonyms (child phrases) for a parent phrase. All existing child phrases are replaced with those provided in the child_phrases array.

curl -X PUT -H 'Content-Type: application/json' \
-u '[your token]:' \
"[your API key]"
-d '{
"child_phrases": [
{ "phrase": "pepper" },
{ "phrase": "cinnamon" }

The above command returns a 204 No Content response on success.

HTTP Request#

PUT[phrase]?key=[your API key]

Response Example
HTTP 204 OK (No Content)

JSON Parameters#

child_phrasesYesArray of synonyms