Migawki

Roll back a VM snapshot

POST
/cloud/project/{project_uuid}/vm/{vmid}/snapshots/{snapname}/rollback/

Restores the VM to the named snapshot. The VM must be stopped. start_after is not allowed for high-availability VMs.

Authorization

bearerAuth
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Path Parameters

project_uuid*string

Project UUID.

snapname*string

Snapshot name.

vmid*integer

VM identifier (VMID).

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Rollback options. The VM must be stopped.

Response Body

application/json

curl -X POST "https://example.com/cloud/project/string/vm/0/snapshots/string/rollback/" \  -H "Content-Type: application/json" \  -d '{}'
{  "task_id": "string",  "message": "string"}