VM Power Management API
Complete guide to managing VM power states in VergeOS, including starting, stopping, rebooting, and monitoring power status
This Document Helps With
Quick Reference
Primary Endpoints
Key Actions
Authentication
Prerequisites
API Quick Reference
Operation
Method
Endpoint
Key Type
Purpose
Troubleshooting Index
Starting VMs
POST /api/v4/vm_actions
Stopping VMs
Graceful Power Off (ACPI)
Force Power Off (Kill)
Rebooting VMs
Graceful Reboot (ACPI)
Hard Reset (Power Cycle)
VM Status and Information
GET /api/v4/vms/{id}
VM Power State and Runtime Status
GET /api/v4/machine_status/{machine_id}
Stopped VM Response Example
Running VM Response Example
Power State Monitoring
Checking Power State Only
Monitoring Power State Changes
Common Power Management Workflows
Safe VM Shutdown Workflow
VM Restart Workflow
Error Handling
Common Power Management Errors
Operation Timeouts
Last updated
Was this helpful?