Deleting a Floating IP Address

Function

This API is used to delete a floating IP address.

Note

Note the following when you use EIPs of the Dedicated Load Balancer (5_gray) type:

  • In eu-de, EIPs of the Dedicated Load Balancer (5_gray) type cannot be assigned anymore. You can assign EIPs of the BGP (5_bgp) type.

  • Existing EIPs of the Dedicated Load Balancer (5_gray) type can be bound to dedicated or shared load balancers.

    • The EIP console cannot be used to bind EIPs to or unbind them from dedicated load balancers.

    • You can use APIs to bind EIPs to or unbind them from dedicated load balancers. For details, see Binding an EIP and Unbinding an EIP.

    • EIPs of this type can be bound to or unbound from shared load balancers using the EIP console or APIs.

    • You are advised to bind BGP EIPs to or unbind them from dedicated load balancers.

  • Do not add EIPs of the dedicated load balancer type (5_gray) and other types to the same shared bandwidth. Otherwise, the bandwidth limit policy will not take effect.

URI

DELETE /v2.0/floatingips/{floatingip_id}

Table 1 describes the parameters.

Table 1 Parameter description

Parameter

Mandatory

Type

Description

floatingip_id

Yes

String

Specifies the floating IP address ID.

Request Message

None

Response Message

None

Example:

Example request

DELETE https://{Endpoint}/v2.0/floatingips/a95ec431-8473-463b-aede-34fb048ee3a7

Example response

None

Status Code

See Status Codes.

Error Code

See Error Codes.