UnassociateEipAddress
Description
call the UnassociateEipAddress to unbind the elastic public network IP EIP(Elastic IP Address) from the bound cloud product.
Request Method
POST
Request Path
/apsara/route/Vpc/UnassociateEipAddress
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
PrivateIpAddress | BODY | string | No | 192.XX.XX.2 | The private IP address of the ECS instance or ENI instance to unbind the EIP. |
InstanceId | BODY | string | Yes | i-hp3akk9irtd69jad**** | the ID of the cloud product instance to unbind the EIP. |
Force | BODY | boolean | No | false | when EIP is bound to NAT gateway and NAT gateway adds DNAT or SNAT entry, whether to forcibly unbind EIP, value: false(default): EIP is not forcibly unbound. true: force the EIP to be unbound. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
AllocationId | BODY | string | Yes | eip-2zeerraiwb7uj6i0d**** | the ID of the EIP to be unbound. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the EIP to be unbound. |
InstanceType | BODY | string | No | EcsInstance | the type of cloud product to unbind EIP, value: EcsInstance: ECS instances of the proprietary network type. SlbInstance: SLB instance of proprietary network type. NetworkInterface: a secondary elastic network card of the proprietary network type. Nat:NAT gateway. HaVip: highly available virtual IP. |
ClientToken | BODY | string | No | 02fb3da4-130e-11e9-8e44-001*** | Ensure request idempotence. Generate a parameter value from your client to ensure that the parameter value is unique between different requests. ClientToken only ASCII characters are supported and cannot exceed 64 characters. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}