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

私有网络

复制全文
下载 pdf
网卡
DeleteNetworkInterface - 删除网卡
复制全文
下载 pdf
DeleteNetworkInterface - 删除网卡
调用 DeleteNetworkInterface 接口,删除辅助网卡。​
使用说明​
  • 辅助网卡未挂载至云服务器实例。​
  • 主网卡不支持调用本接口删除,当云服务器删除时,其随云服务器删除。​
  • 已开启随云服务器实例删除的辅助网卡,当云服务器删除时,随其一同删除。​
  • DeleteNetworkInterface 为异步接口,即返回请求ID时,系统后台仍在删除。您可调用 DescribeNetworkInterfaceAttributes 查看网卡的状态,Deleting表示删除中,查看失败表示删除完成。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:DeleteNetworkInterface​
接口名称。当前 API 的名称为DeleteNetworkInterface。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为 2020-04-01。​
​
NetworkInterfaceId String 必选 示例值:eni-bp1fgnh68xyz9****​
待删除辅助网卡的ID。​
您可以调用 DescribeNetworkInterfaces 接口,查询网卡的ID。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
RequestId String 示例值:2021062415303301022514515207C4****​
请求ID。​
​
​
​
请求示例​
​
GET /?Action=DeleteNetworkInterface&Version=2020-04-01&NetworkInterfaceId=eni-bp1fgnh68xyz9**** 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": "DeleteNetworkInterface",​
"Version": "2020-04-01",​
"Service": "vpc",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "2021062415303301022514515207C4****"​
}​
}​
​
错误码​
​
状态码​
错误码​
错误信息​
说明​
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​
IncorrectShuttleStatus​
The specified Shuttle is not in the correct status for the request.​
指定的 Shuttle 所处的状态无法响应该请求。​
400​
InvalidAnycastEip.InvalidStatus​
The specified anycast elastic IP address is not in the correct status for the request.​
指定的任播公网IP所处状态无法响应该请求。​
400​
InvalidBond.HasRelation​
The specified ENI has a bond relation.​
指定的bond网卡下存在绑定关系。​
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​
InvalidFlowLog.InvalidStatus​
The specified flow log is not in the correct status for the request.​
指定流日志所处的状态无法响应该请求。​
400​
InvalidInstanceGroup.InvalidStatus​
The specified instance group is not in the correct status for the request.​
指定的服务器组所处状态无法响应该请求。​
400​
InvalidParameter.ClientTokenMalformed​
The specified parameter ClientToken is malformed.​
指定的参数ClientToken格式不合法,长度不能超过64个ASCII字符。​
400​
InvalidTrafficMirrorSession.InvalidStatus​
The specified traffic mirror session is not in the correct status for the request.​
指定的镜像流量会话所处的状态无法响应该请求。​
400​
InvalidTrunk.InUse​
The specified trunk eni has dependent resource of a branch eni.​
指定的trunk网卡包含branch网卡,无法删除。​
400​
InvalidVpc.InvalidStatus​
The specified VPC is not in the correct status for the request.​
指定的VPC所处状态无法响应该请求。​
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.IPv6Bandwidth​
You've reached the limit on the number of IPv6 bandwidth that you can create.​
已达到可开通IPv6公网带宽数量上限。​
400​
QuotaExceeded.InstanceMember​
You've reached the limit on the number of members per instance group.​
已达到服务器组下的成员实例数量上限。​
400​
QuotaExceeded.ShuttleClient​
Shuttle client number of the account exceeded quota.​
当前用户已达到可创建Shuttle Client的数量上限。​
400​
QuotaExceeded.ShuttleServer​
Shuttle server number of the account exceeded quota.​
当前用户已达到可创建Shuttle Server的数量上限。​
403​
Forbidden​
You are not authorized to perform operations on ESI related resources.​
无权限操作弹性预约实例关联资源。​
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.​
指定的弹性网卡不存在。​
404​
InvalidInstanceGroup.NotFound​
The specified instance group does not exist.​
指定的服务器组不存在。​
412​
IdempotentProcessing​
The request uses the same client token as a previous one that is still in process.​
幂等请求处理中。​
​
​
最近更新时间:2026.09.23 11:14:42
这个页面对您有帮助吗?
有用
有用
无用
无用