Unbinding an EIP
Function
This API is used to unbind an EIP.
URI
POST /v3/{project_id}/eip/publicips/{publicip_id}/disassociate-instance
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. Minimum length: 0 Maximum length: 32 |
publicip_id |
Yes |
String |
EIP ID. Minimum length: 0 Maximum length: 36 |
Request Parameter
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
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. Minimum length: 0 Maximum length: 4096 |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
request_id |
String |
Request ID. Minimum length: 0 Maximum length: 36 |
publicip |
PublicipInstanceResp object |
Response body of unbinding an EIP. |
Parameter |
Type |
Description |
---|---|---|
id |
String |
Minimum length: 0 Maximum length: 36 |
project_id |
String |
Minimum length: 0 Maximum length: 32 |
ip_version |
Integer |
Enumerated values:
|
public_ip_address |
String |
Minimum length: 0 Maximum length: 36 |
status |
String |
Enumerated values:
|
description |
String |
Minimum length: 1 Maximum length: 255 |
public_border_group |
String |
Minimum length: 1 Maximum length: 64 |
created_at |
String |
|
updated_at |
String |
|
type |
String |
Minimum length: 1 Maximum length: 36 Enumerated values:
|
vnic |
VnicInfo object |
|
bandwidth |
PublicipBandwidthInfo object |
|
enterprise_project_id |
String |
Minimum length: 0 Maximum length: 36 |
billing_info |
String |
Minimum length: 0 Maximum length: 256 |
lock_status |
String |
Minimum length: 0 Maximum length: 64 |
associate_instance_type |
String |
Minimum length: 0 Maximum length: 64 Enumerated values:
|
associate_instance_id |
String |
Minimum length: 0 Maximum length: 64 |
publicip_pool_id |
String |
Minimum length: 0 Maximum length: 36 |
publicip_pool_name |
String |
Minimum length: 0 Maximum length: 64 |
alias |
String |
Minimum length: 0 Maximum length: 64 |
Parameter |
Type |
Description |
---|---|---|
private_ip_address |
String |
Minimum length: 0 Maximum length: 36 |
device_id |
String |
Minimum length: 0 Maximum length: 36 |
device_owner |
String |
Minimum length: 0 Maximum length: 64 |
vpc_id |
String |
Minimum length: 0 Maximum length: 36 |
port_id |
String |
Minimum length: 0 Maximum length: 36 |
port_profile |
String |
Minimum length: 0 Maximum length: 256 |
mac |
String |
Minimum length: 0 Maximum length: 64 |
vtep |
String |
Minimum length: 0 Maximum length: 36 |
vni |
String |
Minimum length: 0 Maximum length: 36 |
instance_id |
String |
Minimum length: 0 Maximum length: 36 |
instance_type |
String |
Minimum length: 0 Maximum length: 36 |
Parameter |
Type |
Description |
---|---|---|
id |
String |
Minimum length: 0 Maximum length: 36 |
size |
Integer |
Minimum value: 0 Maximum value: 99999 |
share_type |
String |
Minimum length: 0 Maximum length: 36 |
charge_mode |
String |
Minimum length: 0 Maximum length: 36 |
name |
String |
Minimum length: 0 Maximum length: 64 |
billing_info |
String |
Minimum length: 0 Maximum length: 256 |
Example Request
None
Example Response
Status code: 200
Normal response to POST requests
Status Codes
See Status Codes.
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.