Creates or updates a synonym set Added in 8.10.0
Path parameters
-
The id of the synonyms set to be created or updated
Body Required
synonyms_set object | array[object] Required
The synonym set information to update
PUT /_synonyms/{id}
curl \
-X PUT http://api.example.com/_synonyms/{id} \
-H "Content-Type: application/json" \
-d '{"synonyms_set":{"id":"string","synonyms":"string"}}'