// This file is autogenerated, DO NOT EDIT
// synonyms/apis/put-synonym-rule.asciidoc:151

[source, python]
----
resp = client.synonyms.put_synonym_rule(
    set_id="my-synonyms-set",
    rule_id="test-1",
    synonyms="hello => hi => howdy",
)
print(resp)
----
