Detaching a Reserved IP from an instance removes the associated public network address from the instance's main network interface. You can detach a Reserved IP to reassign it to another instance, release unused resources, or adjust your network configuration.
Follow this guide to detach Reserved IPs from a Vultr instance using the Vultr Customer Portal, API, or CLI.
Navigate to Products, expand the Network drop-down, and select Reserved IPs from the list of options.
Click your target Reserved IP to open its management page.
In the Attached to Server section, click Detach to begin removing the Reserved IP from the instance.
Click Detach Reserved IP in the confirmation prompt to finalize the detachment.
Send a GET
request to the List Reserved IPs endpoint and note the target Reserved IP's ID.
$ curl "https://api.vultr.com/v2/reserved-ips" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a POST
request to the Detach Reserved IP endpoint to detach the Reserved IP from the instance.
$ curl "https://api.vultr.com/v2/reserved-ips/{reserved-ip-id}/detach" \
-X POST \
-H "Authorization: Bearer ${VULTR_API_KEY}"
List all active Reserved IPs in your Vultr account and note the target Reserved IP's ID.
$ vultr-cli reserved-ip list
Detach the Reserved IP from the instance.
$ vultr-cli reserved-ip detach <reserved-ip-id>
No comments yet.