Compute
Create a VM
Create a VM directly. Pass ssh_key or ssh_key_ids for SSH access — or attach a key later with attachVmSshKey (never recreate a VM just to add a key). Use size, or override vcpu/ram/disk individually.
post/agent/compute/vms
Request
- Base URL: https://edge.network
- URL: https://edge.network/agent/compute/vms
- Auth: HTTP bearer
Headers
X-Dry-Run'true' | 'false'
Set to "true" to preview the operation (validation, cost, plan) without making changes.
Idempotency-Keystring
Unique key for safe retries. Repeating a request with the same key returns the original response instead of re-executing.
Request body
Response
VM created. Poll getVm until status is "running" before SSHing.
Changes
No recorded changes to this operation across all 1 revision of this API.