You need to enable JavaScript to run this app.
导航

ReleaseEipAddress

最近更新时间2024.04.18 17:02:14

首次发布时间2021.07.31 07:47:47

调用 ReleaseEipAddress 接口,释放一个指定的公网IP。

调用说明

调用本接口释放公网IP,需要同时满足如下条件:

调试

请求参数

参数名称
类型
是否必选
示例值
描述
ActionStringReleaseEipAddress要执行的操作,取值:ReleaseEipAddress。
VersionString2020-04-01API的版本信息,当前版本为2020-04-01。

AllocationId

String

eip-2zewb7ujxscd****

要释放的公网IP的ID。
您可以调用 DescribeEipAddresses 接口,查询公网IP的ID。

ClientToken

String

123e4567-e89b-12d3-a456-42665544****

保证请求幂等性。由客户端自动生成一个参数值,确保不同请求间该参数值唯一,避免当调用API超时或服务器内部错误时,客户端多次重试导致重复性操作。取值:

  • 仅支持ASCII字符,且不能超过64个字符。

返回数据

参数名称
类型
示例值
描述
RequestIdString2021062415303301022514515207C4****请求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
错误码
错误信息
描述
400IdempotentParameterMismatchArguments on this idempotent request are inconsistent with arguments used in previous request(s).此幂等请求的参数与前一个请求中使用的参数不一致。
400InvaildIpv6.NotSupportThe specified IPv6 address does not support this operation.指定的IPv6地址不支持此操作。
400InvalidBillingType.MalformedThe specified billing type is malformed.指定的计费方式不合法。
400InvalidEip.InTemporaryUpgradeThe specified eip is in temporary upgrade.指定的EIP正在临时升配中。
400InvalidEip.InUseThe specified elastic ip is in use.指定的公网IP使用中。
400InvalidEip.InUseThe specified EIP has dependent resource of a bandwidth package.指定的公网IP已加入到共享带宽包,无法释放。
400InvalidEip.InvalidStatusThe specified elastic ip is not in the correct status for the request.指定的弹性公网IP所处的状态无法响应该请求。
400InvalidNatGateway.InvalidStatusThe specified NAT gateway is not in the correct status for the request.指定的NAT网关所处的状态无法响应该请求。
400InvalidParameter.ClientTokenMalformedThe specified parameter ClientToken is malformed.指定的参数ClientToken格式不合法,长度不能超过64个ASCII字符。
400PreOrderErrorFailed to create preorder.创建配置单失败。
403ForbiddenYou are not authorized to perform operations on the specified elastic ip and public CLB.无权限操作此EIP和公网CLB。
403ForbiddenYou are not authorized to disassociate elastic ip from Nat gateway.无权限将EIP从Nat网关解绑。
403ForbiddenYou are not authorized to perform operations on the specified elastic ip and ALB.无权限操作此EIP和ALB。
403ForbiddenYou are not authorized to perform operations on the specified elastic ip and private CLB.无权限操作此EIP和私网CLB。
403ForbiddenYou are not authorized to perform operations on the specified elastic network interface. The specified elastic network interface is a service-managed elastic network interface.无权限对指定弹性网卡进行操作。指定的弹性网卡为云产品托管的弹性网卡。
404InvalidInstance.NotFoundThe specified instance does not exist.指定的实例不存在。
404InvalidEip.GetInstanceDetailGet instance detail failed获取实例信息失败
404InvalidEip.NotFoundThe specified EIP does not exist.指定的公网IP不存在。
412IdempotentProcessingThe request uses the same client token as a previous one that is still in process.幂等请求处理中。