Skip to main content
POST
Restore Snapshot
This route has a rate limit of 1 request every 60 seconds.
string
required
The API key for your account. You can find this in your account settings.
Restore Snapshot rolls an application’s storage back to a previous snapshot, replacing its current files with the ones captured at snapshot time. Use it to recover from a bad deploy or accidental deletion. Get the snapshotId and versionId values from List Snapshots, they are not something you construct by hand. snapshotId must be a UUID v4 and versionId must match the S3 version-key format; malformed values are rejected before the restore is dispatched. Restoring does not itself restart the application, run Restart Application afterward if the running process needs to pick up the restored files. Snapshots (and therefore restores) are only available on paid plans. On workspace-shared applications the caller needs the Administrator role.

Parameters

string
required
The ID of the application. You can find this in the URL of your application’s dashboard.
string
required
The ID of the snapshot to restore for this application (app_id).
string
required
The version key of the snapshot.

Response

string
Indicates whether the call was successful.. success if successful, error if not.

Common errors