Modify Synonym Group

This can be used to reset a single synonym group to the given set of synonyms.

curl -X PUT -H "Content-Type: application/json" \
-d '{"synonyms": ["0% milk", "skim milk", "nonfat milk"]}' \
-u"[your token]:" "[your API key]"

The above command returns a 204 Success response on success. For simplicity's sake, a 204 Success response will be returned even if the request leaves the group unchanged.

HTTP Request#

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

JSON Parameters#

synonymsYesDetermines what phrases will be included in the final synonym group.