Networking

Detach floating IP from VM

Detach a floating IP from a VM. A reserved IP returns to your reserved pool and continues to be billed until you release it via DELETE /api/v1/ips/{id}/reserve. An auto-assigned IP is released back to the shared pool. Use the nic_id from GET /api/v1/vms/{id}/networks. If you detach the VM's primary IPv4 while other IPv4s remain attached, the lowest-numbered remaining IPv4 becomes the new primary.

delete/api/v1/vms/{id}/ip/{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

IP detached

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Operation completed successfully"
}

Changes