English
Restores a database based on a snapshot of it.
cURL
curl --request POST \ --url https://api.squarecloud.app/v2/databases/{databaseId}/snapshots/restore \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data '{ "snapshotId": "<string>", "versionId": "<string>" }'
{ "status":"success" }
success
error
Was this page helpful?