Delete a synonym rule Added in 8.10.0

DELETE /_synonyms/{set_id}/{rule_id}

Delete a synonym rule from a synonym set.

Path parameters

  • set_id string Required

    The id of the synonym set to be updated

  • rule_id string Required

    The id of the synonym rule to be deleted

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
DELETE /_synonyms/{set_id}/{rule_id}
curl \
 -X DELETE http://api.example.com/_synonyms/{set_id}/{rule_id}