We are using 6.8 version ELK stack, WE are using below dev tools syntax to take 9 months snaphots manually. PLease help me with code to automate it

PUT /_snapshot/cold_storage/snapshot_2024.06.21
{
"indices": [
"unix-syslog-2024.05.13",

"av-log-2024.05.13",

"filebeat-2024.06.04",

"ad-server-logs-2024.05.13",

"winlog-2024.05.13",

"nice-audit-2024.05.13",

"unix-servers-2024.05.13",

"community-pharmacy-devices-2024.05.13"
],
"ignore_unavailable": false,
"include_global_state": true
}