最近更新时间:2023.11.07 08:11:51
首次发布时间:2021.07.31 07:47:47
调用 ReleaseEipAddress 接口,释放一个指定的公网IP。
调用本接口释放公网IP,需要同时满足如下条件:
说明
共享带宽包正在邀测中,如需试用,请 提交工单 或联系客户经理。
参数名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ReleaseEipAddress | 要执行的操作,取值:ReleaseEipAddress。 |
Version | String | 是 | 2020-04-01 | API的版本信息,当前版本为2020-04-01。 |
AllocationId | String | 是 | eip-2zewb7ujxscd**** | 要释放的公网IP的ID。 |
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 2021062415303301022514515207C4**** | 请求ID。 |
GET /?Action=ReleaseEipAddress&Version=2020-04-01&AllocationId=eip-2zewb7ujxscd**** HTTP/1.1 Host: open.volcengineapi.com Service: vpc Region: cn-beijing
{ "ResponseMetadata": { "RequestId": "2021062415303301022514515207C4****", "Action": "ReleaseEipAddress", "Version": "2020-04-01", "Service": "vpc", "Region": "cn-beijing" }, "Result":{ "RequestId": "2021062415303301022514515207C4****" } }
公共错误码,请参见 公共错误码 。
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | InvaildIpv6.NotSupport | The specified IPv6 address does not support this operation. | 指定的IPv6地址不支持此操作。 |
400 | InvalidBillingType.Malformed | The specified billing type is malformed. | 指定的计费方式不合法。 |
400 | InvalidEip.InTemporaryUpgrade | The specified eip is in temporary upgrade. | 指定的EIP正在临时升配中。 |
400 | InvalidEip.InUse | The specified elastic ip is in use. | 指定的公网IP使用中。 |
400 | InvalidEip.InUse | The specified EIP has dependent resource of a bandwidth package. | 指定的公网IP已加入到共享带宽包,无法释放。 |
400 | InvalidEip.InvalidStatus | The specified elastic ip 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 | PreOrderError | Failed to create preorder. | 创建配置单失败。 |
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 disassociate elastic ip from Nat gateway. | 无权限将EIP从Nat网关解绑。 |
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 elastic network interface. The specified elastic network interface is a service-managed elastic network interface. | 无权限对指定弹性网卡进行操作。指定的弹性网卡为云产品托管的弹性网卡。 |
404 | InvalidInstance.NotFound | The specified instance does not exist. | 指定的实例不存在。 |
404 | InvalidEip.GetInstanceDetail | Get instance detail failed | 获取实例信息失败 |
404 | InvalidEip.NotFound | The specified EIP does not exist. | 指定的公网IP不存在。 |