Skip to main content

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

NameLocationTypeRequiredSample valueDescription
PrivateIpAddressBODYstringNo192.XX.XX.2The private IP address of the ECS instance or ENI instance to unbind the EIP.
InstanceIdBODYstringYesi-hp3akk9irtd69jad****the ID of the cloud product instance to unbind the EIP.
ForceBODYbooleanNofalsewhen 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.
regionIdBODYstringYesNo sample value for this parameter.region id
AllocationIdBODYstringYeseip-2zeerraiwb7uj6i0d****the ID of the EIP to be unbound.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the EIP to be unbound.
InstanceTypeBODYstringNoEcsInstancethe 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.
ClientTokenBODYstringNo02fb3da4-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.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}