DeleteNetworkAcl#

Description#

Deletes a network ACL from a VPC.

Attention

You cannot delete a network ACL if it is default or is associated with a subnet.

Request Parameters#

  • networkAclId — The ID of the network ACL.

    • Type: String

    • Required: Yes

Response Elements#

  • requestId — The request ID.

    • Type: String

  • returnTrue is returned if the request succeeds, and an error otherwise.

    • Type: Boolean

Examples#

c2-ec2 DeleteNetworkAcl NetworkAclId <network_acl_id>