Restore Application Snapshot
Snapshots
Restore Application Snapshot
Restores a specified snapshot to an application or database, then automatically rebuilds/restarts the resource.
POST
Restore Application Snapshot
The ID of the application or database to restore the snapshot to.
The ID of the snapshot to restore.
The resource type. Possible values:
applications, databases.Optional. Override the target resource for cross-resource restore. If omitted, restores to the resource specified by
id.Response
Confirmation that the restoration process was triggered.
Error Responses
The error code indicating the reason for failure. Possible values:
UNAUTHORIZED: The user is not authenticated.USER_NOT_FOUND: The authenticated user was not found.APP_NOT_FOUND: The specified application does not exist.DATABASE_NOT_FOUND: The specified database does not exist.ACCESS_DENIED: The user does not own the resource or snapshot.RESTORE_COOLDOWN: A restore operation was recently performed on this resource. Wait before retrying.TYPE_MISMATCH: The snapshot resource type does not match the target resource type.SNAPSHOT_NOT_FOUND: The specified snapshot does not exist.UNKNOWN_ERROR: An unexpected error occurred in the wing.INTERNAL_SERVER_ERROR: An unexpected server error occurred.