Deletes a network access control list (ACL).
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteNetworkAcl |
The operation that you want to perform. Set the value to DeleteNetworkAcl. |
NetworkAclId | String | Yes | nacl-bp1q8bgx4xnkmxxxxxxxx |
The ID of the network ACL. |
RegionId | String | Yes | cn-hangzhou |
The region where the network ACL is deployed. You can call the DescribeRegions operation to query region IDs. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 34F1206D-04B0-4A05-9D8A-80521E288BD1 |
The ID of the request. |
Examples
Sample requests
https://vpc.aliyuncs.com/?Action=DeleteNetworkAcl
&NetworkAclId=nacl-bp1q8bgx4xnkmxxxxxxxx
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
<DeleteNetworkAclResponse>
<RequestId>34F1206D-04B0-4A05-9D8A-80521E288BD1</RequestId>
</DeleteNetworkAclResponse>
JSON
format
{
"RequestId":"34F1206D-04B0-4A05-9D8A-80521E288BD1"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
500 | InternalError | The request processing has failed due to some unknown error. | The error message returned because unknown errors have occurred. |
For a list of error codes, visit the API Error Center.