:doc:`NetworkAcl <index>` / Action / delete

******
delete
******



.. py:method:: EC2.NetworkAcl.delete(**kwargs)

  

  Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAcl>`_  


  **Request Syntax**
  ::

    response = network_acl.delete(
        DryRun=True|False,
        
    )
    
  :type DryRun: boolean
  :param DryRun: 

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ``DryRunOperation``. Otherwise, it is ``UnauthorizedOperation``.

    

  
  
  :returns: None