Maszyny wirtualne
Delete a VM
Destroys a virtual machine and its disks. The VM must be stopped. Requires a project role that can write VMs. Card verification, a prepaid hold, or a suspended account blocks deletion. High availability is removed automatically. Private-network addresses are released. By default, backups are kept and public IPs are released to the pool.
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).
Query Parameters
delete_backups?boolean
If true, delete all backups of this VM. Defaults to false. Protected backups must be unprotected first.
release_public_ip?boolean
If true (default), release attached public IPs back to the pool. If false, keep them reserved on the project.
Response Body
curl -X DELETE "https://example.com/cloud/project/string/vm/0/"Empty
Empty
Empty
Empty
Empty