Maszyny wirtualne

Delete a VM

DELETE/cloud/project/{project_uuid}/vm/{vmid}/

Destroys a virtual machine and its disks. The VM must be stopped. Requires a project role that can write VMs; an API key needs Full access to the project. Card verification, a prepaid hold, or a suspended account blocks deletion. High availability is removed automatically. Private-network addresses are released. All backups of the VM are deleted with it. By default, 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

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