Creates or updates a synonym set Added in 8.10.0

PUT /_synonyms/{id}

Path parameters

  • id string Required

    The id of the synonyms set to be created or updated

application/json

Body Required

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
PUT /_synonyms/{id}
curl \
 -X PUT http://api.example.com/_synonyms/{id} \
 -H "Content-Type: application/json" \
 -d '{"synonyms_set":{"id":"string","synonyms":"string"}}'