Release a floating IP
Overview
Permanently releases an address that has no billing subscription, such as an address granted by an administrator. It returns to the available pool and may be assigned elsewhere. Rented addresses must be cancelled instead. The response includes account allowances under limits.
Permissions
Requires the network.delete (Delete networking resources) permission for the selected team. Resources outside that team return 404.
Authorization
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Send it as Bearer <token>.
Path parameters
The floating ip uuid short
Response 200
application/jsonThe record, as a JSON object. There is no envelope.
The value of limits.
Show child attributesHide child attributes
The value of ipv4.
Show child attributesHide child attributes
The value of quota.
The value of used.
The value of remaining.
The value of ipv6.
Show child attributesHide child attributes
The value of quota.
The value of used.
The value of remaining.
The uuid UUID.
The first eight characters of the UUID. Either form can identify the address.
The value of status.
One of: pending_payment, active, pending_cancellation, deleting, expired, cancelled, payment_review
The value of status_label.
One sentence about why a purchase is waiting, or null.
Whether the purchase is waiting on account credit, which is the one wait the customer can end themselves.
The type of operation or resource.
One of: ipv4, ipv6
The IP address. A cancelled or expired one names the address it had.
The network prefix length.
The gateway address for the network.
The value of onlink.
Whether the resource is primary.
The value of location.
The location id ID.
Whether the resource is granted.
Whether the customer can release.
The value of billing.
Show child attributesHide child attributes
The customer's service number, once a recurring service exists.
The customer's invoice number, once an invoice exists.
A complete URL where the invoice can be paid.
The checkout UUID, or null when no checkout is available.
The value of checkout_uuid_short.
The current invoice status, or null before an invoice exists.
The amount in the currency shown by currency.
The three-letter currency code used for amount.
How often the service renews, or null for a one-time charge.
When payment is due before the reservation is released.
How many minutes the original payment window allowed.
When the charge was paid, or null while payment is outstanding.
Whether the customer can cancel checkout.
Whether the customer can request cancellation.
Whether the cancellation standing against this address can still be taken back. False for an immediate one, which gave the address away as it was filed.
The value of cancellation_type.
One of: immediate, end_of_billing, null
The date and time for cancellation requested at, in UTC.
The date and time for created at, in UTC.
Null whenever the address is held but parked on nothing, which is a perfectly ordinary state for a floating address to sit in.
Show child attributesHide child attributes
The id ID.
The name shown to customers.
The fully qualified hostname.
The value of windows.
The value of template_name.
The value of template_icon_url.
The server this address was bought for, while it waits to be put there. It is attached as soon as the purchase has been paid for, and this goes back to null.
Show child attributesHide child attributes
The id ID.
The name shown to customers.
The fully qualified hostname.
The value of windows.
The value of template_name.
The value of template_icon_url.
Which way the address is moving while a worker attaches or detaches it, or null once it has settled. An attaching address is not on attaching_to yet; a detaching one is still on server.
One of: attaching, detaching, null
Errors
- 401
- The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- 403
- Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- 404
- The resource was not found in the selected team. Resources in another account or team also return 404.
- 429
- Too many requests. The
Retry-Afterheader says how many seconds to wait. Limits are per account, so several keys on one account share them.
Still stuck? Contact our team
View as Markdown