Unbinding a Floating IP Address (Discarded)
Function
This API is used to unbind a floating IP address from an ECS.
This API has been discarded. Since microversion 2.44, the system will return error 404 when you call this API. Use the VPC API Updating a Floating IP Address.
URI
POST /v2.1/{project_id}/servers/{server_id}/action
| Parameter | Mandatory | Description |
|---|---|---|
| project_id | Yes | Specifies the project ID. For details about how to obtain the ID, see Obtaining a Project ID. |
| server_id | Yes | Specifies the ECS ID. |
Request
Table 2 describes the request parameters.
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| removeFloatingIp | Yes | Object | Unbinds a floating IP address from an ECS. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| address | Yes | String | Specifies the floating IP address. |
Response
None
Example Request
POST https://{endpoint}/v2.1/9c53a566cb3443ab910cf0daebca90c4/servers/47e9be4e-a7b9-471f-92d9-ffc83814e07a/action {
"removeFloatingIp" : {
"address" : "10.144.2.1"
}
} Example Response
None
Returned Values
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.