Networking
Detach floating IP from VM
Detach a floating IP from a VM. The IP returns to your reserved pool (or is released, for auto-assigned IPs). Use the nic_id from GET /api/v1/vms/{id}/networks.
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
Example response
{
"success": true,
"message": "Operation completed successfully"
}