You need to enable JavaScript to run this app.
文档中心
私有网络

私有网络

复制全文
下载 pdf
网卡
UnassignIpv6Addresses - 删除IPv6私网地址
复制全文
下载 pdf
UnassignIpv6Addresses - 删除IPv6私网地址
调用 UnassignIpv6Addresses 接口,为指定网卡释放私网IPv6地址。​
说明​
IPv6功能正在邀测中,暂仅支持完成 企业认证 的账号申请试用,如需试用,请联系客户经理。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:UnassignIpv6Addresses​
接口名称。当前 API 的名称为UnassignIpv6Addresses。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为 2020-04-01。​
​
NetworkInterfaceId String 必选 示例值:eni-bp1fg655nh68xyz9****​
网卡的ID。​
您可以调用 DescribeNetworkInterfaces 接口,查询网卡的ID。​
​
Ipv6Address.N String 必选 示例值:2408:4008:55b:XXXX:XXXX:922:96c4:e0​
待释放的私网IPv6地址。​
  • 参数 - N:表示私网IPv6地址的序号,取值范围由当前网卡已分配的私网IPv6数量决定。​
  • 多个私网IPv6地址之间用&分隔。​
​
ClientToken String 可选 示例值:123e4567-e89b-12d3-a456-42665544****​
客户端Token,用于保证请求幂等性。​
  • 由客户端自动生成一个参数值,确保不同请求间该参数值唯一,避免当调用API超时或服务器内部错误时,客户端多次重试导致重复性操作。​
  • 仅支持ASCII字符,且不能超过64个字符。​
  • 若不传入ClientToken,则此次API调用不进行幂等校验。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
RequestId String 示例值:0ED8D006-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: vpc.cn-beijing.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/vpc/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "UnassignIpv6Addresses",​
"Version": "2020-04-01",​
"Service": "vpc",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****"​
}​
}​
​
错误码​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidEip.InUse​
The specified EIP is being operated by another request.​
指定的EIP正被另一个请求操作,请稍后再试。​
400​
InvalidEni.InvalidStatus​
The specified elastic network interface is not in the correct status for the request.​
指定的弹性网卡所处的状态无法响应该请求。​
400​
InvalidEni.InvalidType​
The type of specified elastic network interface is illegal for the request.​
指定类型的弹性网卡无法响应该请求。​
400​
InvalidEni.UnassignFirstIPv6Address​
The first IPv6 address of ipv6 only ENI is forbidden to unassign.​
IPv6 only网卡的首个IPv6地址不允许删除。​
400​
InvalidEni.UnassignIPv6AddressAsNextHop​
The IPv6 address of ENI as next hop is forbidden to unassign.​
网卡的IPv6地址作为路由下一跳不允许删除。​
400​
InvalidIpv6.Malformed​
The specified IPv6 address is malformed.​
指定的IPv6地址不合法。​
400​
InvalidIpv6Prefix.Malformed​
The specified ipv6 prefix is malformed.​
指定的IPv6前缀不合法。​
400​
InvalidPrivateIp.Malformed​
The specified private ip is malformed.​
指定的私网IP不合法。​
400​
InvalidVpcEip.InUse​
The specified vpc eip is being operated by another request.​
指定的EIP正被另一个请求操作,请稍后再试。​
400​
OrderError​
Failed to create an order in one step.​
创建订单并支付失败。​
400​
QuotaExceeded.BandwidthPackage​
You've reached the limit on the EIP number of that you can add to bandwidth package.​
已达到共享带宽包可加入公网IP的数量上限。​
400​
QuotaExceeded.IPv6Gateway​
You've reached the limit on the number of IPv6 egress only rule per IPv6 gateway that you can create.​
已达到每个IPv6网关下仅主动出规则的数量上限。​
403​
Forbidden​
You are not authorized to perform operations on the specified elastic network interface. The owner of the specified elastic network interface is not in sharing.​
无权限对指定弹性网卡进行操作。指定的弹性网卡归属用户不在共享中。​
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​
InvalidEniId.NotFound​
The specified elastic network interface does not exist.​
指定的弹性网卡不存在。​
409​
InvalidIPv6Prefix.Conflict​
The specified IPv6 prefix is in use.​
指定的IPv6前缀已被占用。​
​
​
最近更新时间:2026.02.09 16:06:05
这个页面对您有帮助吗?
有用
有用
无用
无用