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
Request
- Base URLhttps://api.pantheon.io
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}Changes
No recorded changes to this operation across all 2 revisions of this API.