Delete a synonym rule

  • DELETE /_synonyms/{set_id}/{rule_id}

Delete a synonym rule from a synonym set.

  • Cluster privileges: manage_search_synonyms

Query Parameters

refresh boolean · default: true

If true, the request will refresh the analyzers with the deleted synonym rule and wait for the new synonyms to be available before returning. If false, analyzers will not be reloaded with the deleted synonym rule

Response