Networking
Detach VM from VPC
Detach a VM's network interface from its VPC. Use the nic_id from GET /api/v1/vms/{id}/networks to identify the interface.
delete/api/v1/vms/{id}/vpc/{nic_id}
Path parameters
idstring uuid required
VM ID (UUID)
nic_idinteger required
Network interface ID. Get it from the nic_id field of GET /api/v1/vms/{id}/networks.
Headers
X-Project-IDstring uuid required
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Response
VM detached from VPC
Example response
{
"success": true,
"message": "Operation completed successfully"
}