// This file is autogenerated, DO NOT EDIT
// synonyms/apis/put-synonyms-set.asciidoc:67

[source, python]
----
resp = client.synonyms.put_synonym(
    id="my-synonyms-set",
    synonyms_set=[
        {
            "id": "test-1",
            "synonyms": "hello, hi"
        },
        {
            "synonyms": "bye, goodbye"
        },
        {
            "id": "test-2",
            "synonyms": "test => check"
        }
    ],
)
print(resp)
----
