• Elastic Cloud Server

ecs
  1. Help Center
  2. Elastic Cloud Server
  3. API Reference
  4. OpenStack Nova APIs
  5. Floating IP Address Management
  6. Releasing a Floating IP Address (Discarded)

Releasing a Floating IP Address (Discarded)

Function Description

This interface is used to release a floating IP address.

Constraints

  • This API will be discarded. You are advised to use the VPC interface "Deleting a Floating IP Address".

URI

DELETE /v2/{project_id}/os-floating-ips/{floating_ip_id}

DELETE /v2.1/{project_id}/os-floating-ips/{floating_ip_id}

Table 1 describes the parameters in the URI.
Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

floating_ip_id

Yes

Specifies the ID of the floating IP address.

Request

Request parameters

Table 2 describes the request parameters.

Table 2 Request parameters

Parameter

Type

Mandatory

Description

tenant_id

String

Yes

Specifies the tenant ID specified in the URI.

The value is in UUID format.

floating_ip_id

String

Yes

Specifies the ID of the floating IP address. It is specified in URI.

The value is in UUID format.

Response

N/A

Examples

  • Example request
    DELETE /v2/e73621affb8f44e1bc01898747ca09d4/os-floating-ips/05f71f43-f3c9-47ef-ac8d-9f02aef66418
    DELETE /v2.1/e73621affb8f44e1bc01898747ca09d4/os-floating-ips/05f71f43-f3c9-47ef-ac8d-9f02aef66418
  • Example response

    N/A

Returned Values

See General Request Returned Values.