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

私有网络

复制全文
下载 pdf
网卡
UnassignPrivateIpAddresses - 删除辅助私网IP地址
复制全文
下载 pdf
UnassignPrivateIpAddresses - 删除辅助私网IP地址
调用 UnassignPrivateIpAddresses 接口,为指定的网卡释放辅助私网IPv4地址。​
使用说明​
  • 主网卡仅在状态为 RUNNING 或 STOPPED 时,才可释放辅助私网 IPv4 地址。​
  • 辅助网卡仅在状态为 Available 或 InUse 时,才可释放辅助私网 IPv4 地址。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:UnassignPrivateIpAddresses​
接口名称。当前 API 的名称为UnassignPrivateIpAddresses。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为 2020-04-01。​
​
NetworkInterfaceId String 必选 示例值:eni-bp67acfmxazb4p****​
网卡的ID。​
您可以调用 DescribeNetworkInterfaces 接口,查询网卡的ID。​
​
PrivateIpAddress.N String 必选 示例值:192.168.XX.10​
网卡待释放的辅助私网IPv4地址。​
  • 参数 - N:表示辅助私网IPv4地址的序号。​
  • 多个辅助私网IPv4地址之间用&分隔。​
​
ClientToken String 可选 示例值:123e4567-e89b-12d3-a456-42665544****​
客户端Token,用于保证请求幂等性。​
  • 由客户端自动生成一个参数值,确保不同请求间该参数值唯一,避免当调用API超时或服务器内部错误时,客户端多次重试导致重复性操作。​
  • 仅支持ASCII字符,且不能超过64个字符。​
  • 若不传入ClientToken,则此次API调用不进行幂等校验。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
RequestId String 示例值:473469C7-AA6F-4DC5-B3DB-A3DC0DE3****​
请求ID。​
​
​
​
请求示例​
​
GET /?Action=UnassignPrivateIpAddresses&Version=2020-04-01&NetworkInterfaceId=eni-bp67acfmxazb4ph****&PrivateIpAddress.1=192.168.XX.10 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": "UnassignPrivateIpAddresses",​
"Version": "2020-04-01",​
"Service": "vpc",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"​
}​
}​
​
错误码​
​
状态码​
错误码​
错误信息​
说明​
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​
InvalidAnycastEip.InvalidStatus​
The specified anycast elastic IP address is not in the correct status for the request.​
指定的任播公网IP所处状态无法响应该请求。​
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​
InvalidIpPrefix.Malformed​
The specified ipv4 prefix is malformed.​
指定的IPv4前缀不合法。​
400​
InvalidParameter.ClientTokenMalformed​
The specified parameter ClientToken is malformed.​
指定的参数ClientToken格式不合法,长度不能超过64个ASCII字符。​
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​
QuotaExceeded.SecurityGroupIp​
The number of IP addresses bound to the security group exceeded quota.​
已达到安全组可绑定IP地址的数量上限。​
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.​
指定的弹性网卡不存在。​
412​
IdempotentProcessing​
The request uses the same client token as a previous one that is still in process.​
幂等请求处理中。​
​
​
最近更新时间:2026.10.29 10:19:49
这个页面对您有帮助吗?
有用
有用
无用
无用