• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Nova
  5. Server Actions
  6. Unbinding a Floating IP Address

Unbinding a Floating IP Address

Function Description

This interface is used to unbind a floating IP address from an ECS.

URI

  • URI format

    POST /v2/{tenant_id}/servers/{server_id}/action

    POST /v2.1/{tenant_id}/servers/{server_id}/action

  • Parameter description

    Parameter

    Mandatory

    Description

    tenant_id

    Yes

    Specifies the tenant or project ID.

    server_id

    Yes

    Specifies the ECS ID.

Restrictions

This interface will become invalid from micro version 2.44. Since this version, the system will return error 404 when you invoke this interface. Using the corresponding network service interface is recommended.

Extension Description

N/A

Request

Table 1 Request parameter

Parameter

Type

Mandatory

Description

removeFloatingIp

Dict

Yes

Unbinds a floating IP address from an ECS.

Table 2 removeFloatingIp parameter information

Parameter

Type

Mandatory

Description

address

String

Yes

Specifies the floating IP address.

Response

N/A

Request Example

POST /v2/9c53a566cb3443ab910cf0daebca90c4/servers/47e9be4e-a7b9-471f-92d9-ffc83814e07a/action
POST /v2.1/9c53a566cb3443ab910cf0daebca90c4/servers/47e9be4e-a7b9-471f-92d9-ffc83814e07a/action
{
   "removeFloatingIp" : {
        "address" : "10.144.2.1"
    }
}

Response Example

N/A

Returned Values

See General Request Returned Values.