// This file is autogenerated, DO NOT EDIT
// snapshot-restore/take-snapshot.asciidoc:249

[source, python]
----
resp = client.cluster.put_settings(
    persistent={
        "slm.retention_schedule": "0 30 1 * * ?"
    },
)
print(resp)
----
