latestOpenAPI 3.1.02026-08-1076186318.8 KB
ab648a80ca4d
Backups
Restore a scheduled or manual or system generated backup to an environment
post/sites/environments/{target_env_id}/backups/restore
Path parameters
target_env_idstring uuid required
Example:54fb80af-576c-4fdc-ba4f-b596c83f15a1
Request body
Example request
{
"backup_id": 123456789,
"notified_user_id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1"
}Response
Restore backup to environment action started. Check MyKinsta for status
Example response
{
"operation_id": "backups:restore-54fb80af-576c-4fdc-ba4f-b596c83f15a1",
"message": "Restoring a backup to environment in progress",
"status": 202
}