Path parameters

  • set_id string Required

    The id of the synonym set to be updated with the synonym rule

  • rule_id string Required

    The id of the synonym rule to be updated or created

application/json

Body Required

Responses

PUT /_synonyms/{set_id}/{rule_id}
curl \
 -X PUT http://api.example.com/_synonyms/{set_id}/{rule_id} \
 -H "Content-Type: application/json" \
 -d '{"synonyms":"string"}'