You need to enable JavaScript to run this app.
文档中心
公网IP

公网IP

复制全文
下载 pdf
公网IP
ReleaseEipAddress - 释放公网IP
复制全文
下载 pdf
ReleaseEipAddress - 释放公网IP
调用 ReleaseEipAddress 接口,释放一个指定的公网IP。​
使用说明​
调用本接口释放公网IP,需要同时满足如下条件:​
  • 公网IP为按量计费,或包月公网IP已到期。包年包月公网IP到期前,不支持调用本接口释放,若需要释放,请参考 退订说明 。​
  • 公网IP未绑定云资源。​
  • 公网IP未加入共享带宽包。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:ReleaseEipAddress​
要执行的操作,取值:ReleaseEipAddress。​
​
Version String 必选 示例值:2020-04-01​
API的版本信息,当前版本为 2020-04-01。​
​
AllocationId String 必选 示例值:eip-2zewb7ujxscd****​
要释放的公网IP的ID。​
您可以调用 DescribeEipAddresses 接口,查询公网IP的ID。​
​
ClientToken String 可选 示例值:123e4567-e89b-12d3-a456-42665544****​
保证请求幂等性。由客户端自动生成一个参数值,确保不同请求间该参数值唯一,避免当调用API超时或服务器内部错误时,客户端多次重试导致重复性操作。​
取值:仅支持ASCII字符,且不能超过64个字符。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
RequestId String 示例值:2021062415303301022514515207C4****​
请求ID。​
​
​
​
请求示例​
​
GET /?Action=ReleaseEipAddress&Version=2020-04-01&AllocationId=eip-2zewb7ujxscd**** HTTP/1.1​
Host: vpc.cn-beijing.volcengineapi.com​
Service: vpc​
Region: cn-beijing​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2021062415303301022514515207C4****",​
"Action": "ReleaseEipAddress",​
"Version": "2020-04-01",​
"Service": "vpc",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "2021062415303301022514515207C4****"​
}​
}​
​
错误码​
公共错误码请参见公共错误码。​
​
状态码​
错误码​
错误信息​
说明​
400​
DryRunOperation​
Exception raised to indicate a successfully authorized action when the DryRun flag is set to true.​
该请求设置为DryRun操作,操作授权已获得许可,但未被实际执行。​
400​
IdempotentParameterMismatch​
Arguments on this idempotent request are inconsistent with arguments used in previous request(s).​
此幂等请求的参数与前一个请求中使用的参数不一致。​
400​
InvaildIpv6.NotSupport​
The specified IPv6 address does not support this operation.​
指定的IPv6地址不支持此操作。​
400​
InvalidEip.InTemporaryUpgrade​
The specified eip is in temporary upgrade.​
指定的EIP正在临时升配中。​
400​
InvalidEip.InUse​
The specified EIP is being operated by another request.​
指定的EIP正被另一个请求操作,请稍后再试。​
400​
InvalidEip.InUse​
The specified EIP has dependent resource of a bandwidth package.​
指定的EIP被共享带宽包引用,无法释放。​
400​
InvalidEip.InUse​
The specified elastic ip is in use.​
指定的弹性公网IP使用中。​
400​
InvalidEip.InvalidStatus​
The specified elastic ip is not in the correct status for the request.​
指定的弹性公网IP所处的状态无法响应该请求。​
400​
InvalidEipOrNat.InvalidStatus​
The specified elastic ip or Nat is not in the correct status for the request.​
指定的弹性公网IP或Nat网关所处的状态无法响应该请求。​
400​
InvalidEni.InvalidStatus​
The specified elastic network interface is not in the correct status for the request.​
指定的弹性网卡所处的状态无法响应该请求。​
400​
InvalidIPPool.InvalidStatus​
The specified IP address pool is not in the correct status for the request.​
指定IP地址池所处的状态无法响应该请求。​
400​
InvalidNatGateway.InvalidStatus​
The specified NAT gateway is not in the correct status for the request.​
指定的NAT网关所处的状态无法响应该请求。​
400​
InvalidNatGateway.UnSupportAction​
The specified NAT gateway does not support this action.​
指定的NAT网关不支持当前操作。​
400​
InvalidParameter.ClientTokenMalformed​
The specified parameter ClientToken is malformed.​
指定的参数ClientToken格式不合法,长度不能超过64个ASCII字符。​
400​
MissingParameter​
The request is missing a required parameter.​
该请求缺少必要参数。​
400​
OrderError​
Failed to create an order in one step.​
创建订单并支付失败。​
400​
PreOrderError​
Failed to create pre order.​
创建配置单失败。​
400​
QuotaExceeded.IPv6Bandwidth​
You've reached the limit on the number of IPv6 bandwidth that you can create.​
已达到可开通IPv6公网带宽数量上限。​
400​
QuotaExceeded.PremiumBGPEip​
Premium BGP EIP number exceeded quota.​
已达到可申请精品BGP类型公网IP数量上限。​
403​
Forbidden​
You are not authorized to perform operations on ESI related resources.​
无权限操作弹性预约实例关联资源。​
403​
Forbidden​
You are not authorized to perform operations on the specified elastic ip and public CLB.​
无权限操作此EIP和公网CLB。​
403​
Forbidden​
You are not authorized to perform operations on the specified elastic ip and ALB.​
无权限操作此EIP和ALB。​
403​
Forbidden​
You are not authorized to perform operations on the specified elastic ip and private CLB.​
无权限操作此EIP和私网CLB。​
403​
Forbidden​
You are not authorized to perform operations on the specified EIP. The specified EIP is a service-managed EIP.​
无权限对指定EIP进行操作。指定的EIP为云产品托管的EIP。​
403​
Forbidden​
You are not authorized to perform operations on the specified elastic network interface. The specified elastic network interface is a service-managed elastic network interface.​
无权限对指定弹性网卡进行操作。指定的弹性网卡为云产品托管的弹性网卡。​
403​
Forbidden​
You are not authorized to disassociate elastic ip from Nat gateway.​
无权限将EIP从Nat网关解绑。​
404​
InvalidEip.NotFound​
The specified EIP does not exist.​
指定的EIP不存在。​
404​
InvalidIPPool.NotFound​
The specified IP address pool does not exist.​
指定的IP地址池不存在。​
404​
InvalidInstance.NotFound​
The specified instance does not exist.​
指定的实例不存在。​
404​
InvalidInstanceType.NotFound​
The specified instance type does not exist.​
指定的instance type不可用。​
404​
InvalidNatBindEip.NotFound​
The specified eip bound with nat does not exist.​
指定的NAT关联EIP不存在。​
404​
InvalidNatGateway.NotFound​
The specified NAT gateway does not exist.​
指定的NAT网关不存在。​
409​
InvalidOperation.Conflict​
The specified resource operation conflicts.​
指定的资源操作冲突。​
412​
IdempotentProcessing​
The request uses the same client token as a previous one that is still in process.​
幂等请求处理中。​
500​
InternalError​
An internal error has occurred.​
发生内部错误。​
​
​
最近更新时间:2026.01.23 15:56:39
这个页面对您有帮助吗?
有用
有用
无用
无用