Deletes a network access control list (ACL).

Usage notes

You cannot repeatedly call the DeleteNetworkAcl operation to delete a network ACL within the specified period of time.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
NetworkAclId String Yes nacl-bp1lhl0taikrbgnh****

The ID of the network ACL.

RegionId String Yes cn-hangzhou

The region ID of the network ACL.

You can call the DescribeRegions operation to query the most recent region list.

ClientToken String No 223e4867-e89b-12d3-a456-426655440000

The client token that is used to ensure the idempotence of the request.

You can use the client to generate the value, but you must make sure that it is unique among different requests. The client token can contain only ASCII characters.

Note If you do not set this parameter, the system uses RequestId as ClientToken. RequestId may be different for each API request.
Action String Yes DeleteNetworkAcl

The operation that you want to perform. Set the value to DeleteNetworkAcl.

Response parameters

Parameter Type Example Description
RequestId String 4B48E3D-DF70-471B-AA83-089E83A1B45

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?NetworkAclId=nacl-bp1lhl0taikrbgnh****
&RegionId=cn-hangzhou
&ClientToken=223e4867-e89b-12d3-a456-426655440000
&Action=DeleteNetworkAcl
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DeleteNetworkAclResponse>
    <RequestId>4B48E3D-DF70-471B-AA83-089E83A1B45</RequestId>
</DeleteNetworkAclResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "4B48E3D-DF70-471B-AA83-089E83A1B45"
}

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 some unknown errors occurred.

For a list of error codes, visit the API Error Center.