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

私有网络

复制全文
下载 pdf
网络ACL
DisassociateNetworkAcl - 网络ACL解除关联资源
复制全文
下载 pdf
DisassociateNetworkAcl - 网络ACL解除关联资源
调用 DisassociateNetworkAcl 接口,将网络ACL与子网解除关联。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:DisassociateNetworkAcl​
接口名称。当前 API 的名称为DisassociateNetworkAcl。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为 2020-04-01。​
​
NetworkAclId String 必选 示例值:nacl-bp1fg655nh68xyz9****​
网络ACL的ID。​
您可以调用 DescribeNetworkAcls 接口,查询网络ACL的ID。​
​
Resource.N.ResourceId String 可选 示例值:subnet-67acfmxazb4p****​
待解除关联子网的ID。​
您可以调用 DescribeSubnets 接口,查询子网的ID。​
  • 参数 - N:表示子网ID的序号,取值范围:1 ~ 100。​
  • 多个ID之间用&分隔。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
RequestId String 示例值:2021062415303301022514515207C4****​
请求ID。​
​
​
​
请求示例​
​
GET /?Action=DisassociateNetworkAcl&Version=2020-04-01&NetworkAclId=nacl-bp1fg655nh68xyz9****&Resource.1.ResourceId=subnet-67acfmxazb4p****&Resource.2.ResourceId=subnet-g655nh68xyz9**** 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": "DisassociateNetworkAcl",​
"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​
InvalidNetworkAcl.InvalidStatus​
The specified Network ACL is not in the correct status for the request.​
指定的网络ACL所处状态无法响应该请求。​
400​
InvalidResource.Disorder​
The specified resource index orders are malformed.​
指定的资源条目的序号不合法。​
400​
InvalidResource.NetworkAclMismatch​
The specified resource is not associated with the specified Network ACL.​
指定的资源未关联网络ACL。​
400​
InvalidSubnet.InvalidStatus​
The specified subnet is not in the correct status for the request.​
指定的子网所处的状态无法响应该请求。​
400​
LimitExceeded.ResourceId​
You've reached the limit on the number of resources that you can operate one time.​
已达到单次可操作关联资源数量的上限。​
404​
InvalidNetworkAcl.NotFound​
The specified Network ACL does not exist.​
指定的网络ACL不存在。​
404​
InvalidSubnet.NotFound​
The specified subnet does not exist.​
指定的子网不存在。​
​
​
最近更新时间:2026.02.09 16:06:05
这个页面对您有帮助吗?
有用
有用
无用
无用