Maszyny wirtualne

Suspend VM

POST
/cloud/project/{project_uuid}/vm/{vmid}/power/suspend/

Pauses the VM. Not supported for high-availability VMs (stop the VM instead).

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.

vmid*integer

VM identifier (VMID).

Response Body

application/json

curl -X POST "https://example.com/cloud/project/string/vm/0/power/suspend/"
{  "task_id": "string",  "message": "string"}