VM Creation API
Complete guide to creating virtual machines in VergeOS, including basic creation, recipe-based configurations, drives, devices, and network interfaces
This Document Helps With
Quick Reference
Primary Endpoints
Key Parameters
Authentication
Next Steps
API Quick Reference
Operation
Method
Endpoint
Key Type
Purpose
Troubleshooting Index
Prerequisites
Authentication
Basic VM Creation
POST /api/v4/vms
Name
Type
Required
Description
Field
Type
Description
Recipe-Based VM Creation
Complete VM with Recipe Configuration
Adding Drives
POST /api/v4/machine_drives
Name
Type
Required
Description
Creating a Boot Drive
Attaching CDROM/ISO
Importing from Media Source
Adding Devices (GPU, PCI Passthrough, etc.)
POST /api/v4/machine_devices
Name
Type
Required
Description
PCI Passthrough GPU
Finding Available Devices
Adding Network Interfaces
POST /api/v4/machine_nics
Name
Type
Required
Description
Complete VM Creation Example
Last updated
Was this helpful?