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

UnassignIpv6Addresses

最近更新时间2024.04.22 11:11:44

首次发布时间2023.03.03 08:08:42

调用 UnassignIpv6Addresses 接口,为指定网卡释放私网IPv6地址。

说明

IPv6功能正在邀测中,如需试用,请联系客户经理。

调试

请求参数

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

NetworkInterfaceId

String

eni-bp1fg655nh68xyz9****

网卡的ID。
您可以调用 DescribeNetworkInterfaces 接口,查询网卡的ID。

Ipv6Address.N

String

Ipv6Address.1=2408:4008:55b:XXXX:XXXX:922:96c4:e0&Ipv6Address.2=2408:4008:55b:XXXX:XXXX:5eb5:eadc:cda1

待释放的私网IPv6地址。

  • 参数 - N:表示私网IPv6地址的序号,取值范围由当前网卡已分配的私网IPv6数量决定。
  • 多个私网IPv6地址之间用&分隔。

返回数据

参数名称
类型
示例值
描述
RequestIdString0ED8D006-F706-4D23-88ED-E11ED28D****请求ID。

请求示例

GET /?Action=UnassignIpv6Addresses&Version=2020-04-01&NetworkInterfaceId=eni-bp1fg655nh68xyz9****&Ipv6Address.1=2408:4008:55b:XXXX:XXXX:922:96c4:e0&Ipv6Address.2=2408:4008:55b:XXXX:XXXX:5eb5:eadc:cda1 HTTP/1.1
Host: open.volcengineapi.com
Service: vpc
Region: cn-beijing

返回示例

{
    "ResponseMetadata": {
        "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****",
        "Action": "UnassignIpv6Addresses",
        "Version": "2020-04-01",
        "Service": "vpc",
        "Region": "cn-beijing"
    },
    "Result": {
        "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****"
    }
}

错误码

此处仅展示当前API的错误码,更多错误码请参见公共错误码

HttpCode
错误码
错误信息
描述
400InvalidBillingType.MalformedThe specified billing type is malformed.指定的计费方式不合法。
400InvalidEni.InvalidStatusThe specified elastic network interface is not in the correct status for the request.指定的弹性网卡所处的状态无法响应该请求。
400InvalidEni.InvalidTypeThe type of specified elastic network interface is illegal for the request.指定类型的弹性网卡无法响应该请求。
400InvalidIpv6.MalformedThe specified IPv6 address is malformed.指定的IPv6地址不合法。
400InvalidOperation.UnassignIPv6AddressThe ENI attached to the IPv6 only instance must have at least one IPv6 address.IPv6 only实例挂载的网卡至少要有一个IPv6地址。
400OrderErrorFailed to create an order in one step.创建订单并支付失败。
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.无权限对指定弹性网卡进行操作。指定的弹性网卡为云产品托管的弹性网卡。
404InvalidEip.GetInstanceDetailGet instance detail failed获取实例信息失败
404InvalidEniId.NotFoundThe specified elastic network interface does not exist.指定的弹性网卡不存在。