Restore an automated backup for a stack item.
post/midgard/v0.1/automated-backup/{stackItemId}/restore/{backupId}
Schedules the restoration of an automated backup.
Request
Authorization
X-AT
header
apiKey
Path Parameters
stackItemIdThe stack item ID.
integer
REQUIRED
backupIdThe backup ID.
string
REQUIRED
Body
application/json
restoreMethodThe method of restoring.
string
REQUIRED
volumesOptional list of volumes to restore.
array string[]
Response
200Returned when successful.
400Bad Request.
403User is not allowed to access this resource.
404Returned when the backup or stack item was not found.
Shell cURL
shell
Show schema
json