latestSwagger 2.02026-08-1095121164.0 KB
94758829689e
sites
Update Backup Schedule
Sets the backup schedule for all days of the week. Accepts an array of 7 day objects (index 0=Sunday through 6=Saturday), each containing the hour and TTL for backups on that day. This creates a workflow to update the backup schedule configuration.
put/v0/sites/{site_id}/environments/{env_id}/backups/schedule
Path parameters
site_idstring required
Site UUID
env_idstring required
Environment ID
Request body
Example request
[
{
"hour": 3,
"ttl": 2764800
}
]Response
Example response
{
"status": "success"
}