You need to enable JavaScript to run this app.
Virtual Private Cloud

Virtual Private Cloud

Copy page
Download PDF
Network ACL
DisassociateNetworkAcl - Disassociating resources from Network ACL
Copy page
Download PDF
DisassociateNetworkAcl - Disassociating resources from Network ACL
Call the DisassociateNetworkAcl API to disassociate the Network Access Control List from the subnet.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
The following only details request parameters specific to this API and key common parameters. More information is available in Common parameters.​
Action String required Example value: DisassociateNetworkAcl​
The interface name. The current API name is DisassociateNetworkAcl.​
​
Version String required Example value: 2020-04-01​
The interface version. The current API version is 2020-04-01.​
​
NetworkAclId String required Example value: nacl-bp1fg655nh68xyz9****​
ID of the Network Access Control List.​
You can call the DescribeNetworkAcls API to query the Network ACL ID.​
​
Resource.N.ResourceId String optional Example value: subnet-67acfmxazb4p****​
The ID of the subnet to be disassociated.​
You can call the DescribeSubnets API to query the subnet ID.​
  • Parameter - N: Represents the serial number of the subnet ID, value range: 1 to 100.​
  • Separate multiple IDs with ampersands (&).​
​
​
Response parameters​
The following only details response parameters specific to this API. For more information, see Response structure.​
RequestId String optional Example value: 2021062415303301022514515207C4****​
Request ID.​
​
​
Request examples​
​
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​
​
Response examples​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "DisassociateNetworkAcl",​
"Version": "2020-04-01",​
"Service": "vpc",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "2021062415303301022514515207C4****"​
}​
}​
​
Error codes​
​
Status code​
Error codes​
Error message​
Explain​
400​
DryRunOperation​
Exception raised to indicate a successfully authorized action when the DryRun flag is set to true.​
This request is set to DryRun. The action is authorized but not executed.​
400​
InvalidNetworkAcl.InvalidStatus​
The specified Network ACL is not in the correct status for the request.​
The specified Network ACL is in a state that cannot respond to this request.​
400​
InvalidResource.Disorder​
The specified resource index orders are malformed.​
The serial number of the specified resource entry is invalid.​
400​
InvalidResource.NetworkAclMismatch​
The specified resource is not associated with the specified Network ACL.​
The specified resource is not associated with a Network ACL.​
400​
InvalidSubnet.InvalidStatus​
The specified subnet is not in the correct status for the request.​
The specified subnet is in a state that cannot process this request.​
400​
LimitExceeded.ResourceId​
You've reached the limit on the number of resources that you can operate one time.​
The maximum number of associated resources allowed per single operation has been reached.​
404​
InvalidNetworkAcl.NotFound​
The specified Network ACL does not exist.​
The specified Network ACL does not exist.​
404​
InvalidSubnet.NotFound​
The specified subnet does not exist.​
The specified subnet does not exist.​
​
Last updated: 2026.04.02 18:08:30