| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Deletes a network ACL from a VPC. The ACL must not have any subnets associated with it. You can't delete the default network ACL. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide.
NetworkAclIdThe ID of the network ACL.
Type: String
Default: None
Required: Yes
The following elements are returned in a DeleteNetworkAclResponse
element.
requestIdThe ID of the request.
Type: xsd:string
returnReturns true if the request succeeds. Otherwise,
returns an error.
Type: xsd:boolean
This example deletes the network ACL with ID acl-2cb85d45.
https://ec2.amazonaws.com/?Action=DeleteNetworkAcl &NetworkAclId=acl-2cb85d45 &AUTHPARAMS
<DeleteNetworkAclResponse xmlns="http://ec2.amazonaws.com/doc/2013-02-01/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </DeleteNetworkAclResponse>