POST /dashboard/service/{id}/vps/snapshots/{name}/restore

Restore snapshot

Restore the VPS from a specific snapshot.

Parameters

NameTypeInDescription
id*
integerpathThe service ID of the VPS.
name*
stringpathThe name of the snapshot to restore.

Response

200
403
404
successboolean

Request

curl -X POST "https://api.royalehosting.net/dashboard/service/{id}/vps/snapshots/{name}/restore" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-organization-id: YOUR_ORG_ID"

Response

{
  "success": true
}