Updated on 2023-03-17 GMT+08:00

Deleting a Floating IP Address

Function

This API is used to delete a floating IP address.

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

Table 2 Request header parameter

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the user token. The token can be obtained by calling the IAM API used for obtaining a user token. The value of X-Subject-Token in the response header is the user token.

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.