Infra APIVms

Pause a VM

Pauses a running VM and creates a snapshot

POST/api/v1/vms/{vm_id}/pause

Pauses a running VM and creates a snapshot

Authorization

BearerAuth
AuthorizationBearer <token>

Supabase JWT Bearer token

In: header

Path Parameters

vm_id*string

VM ID

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/vms/string/pause"
{  "message": "string",  "snapshot_path": "string",  "status": "string",  "success": true,  "vm_id": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}