Skip to main content
POST
https://api.squarecloud.app
/
v2
/
apps
/
{app_id}
/
snapshots
/
restore
Restore Snapshot
curl --request POST \
  --url https://api.squarecloud.app/v2/apps/{app_id}/snapshots/restore \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "snapshotId": "<string>",
  "versionId": "<string>"
}
'
{
  "status":"success"
}
This route has a rate limit of 1 request every 60 seconds.

Request

Headers

Authorization
string
required
The API key for your account. You can find this in your account settings.

Path

app_id
string
required
The ID of the application. You can find this in the URL of your application’s dashboard.

Body

snapshotId
string
required
The ID of the snapshot to restore for this application (app_id).
versionId
string
required
The version key of the snapshot.

Response

status
string
Indicates whether the call was successful.. success if successful, error if not.
{
  "status":"success"
}