The following code examples show how to use DeleteNetworkAcl
.
- AWS CLI
-
To delete a network ACL
This example deletes the specified network ACL. If the command succeeds, no output is returned.
Command:
aws ec2 delete-network-acl --network-acl-id
acl-5fb85d36
-
For API details, see DeleteNetworkAcl
in AWS CLI Command Reference.
-
For a complete list of AWS SDK developer guides and code examples, see Create Amazon EC2 resources using an AWS SDK. This topic also includes information about getting started and details about previous SDK versions.