:doc:`IoT <../../iot>` / Client / delete_account_audit_configuration

**********************************
delete_account_audit_configuration
**********************************



.. py:method:: IoT.Client.delete_account_audit_configuration(**kwargs)

  

  Restores the default settings for Device Defender audits for this account. Any configuration data you entered is deleted and all audit checks are reset to disabled.

   

  Requires permission to access the `DeleteAccountAuditConfiguration <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions>`__ action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteAccountAuditConfiguration>`_  


  **Request Syntax**
  ::

    response = client.delete_account_audit_configuration(
        deleteScheduledAudits=True|False
    )
    
  :type deleteScheduledAudits: boolean
  :param deleteScheduledAudits: 

    If true, all scheduled audits are deleted.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`IoT.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoT.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`IoT.Client.exceptions.ThrottlingException`

  
  *   :py:class:`IoT.Client.exceptions.InternalFailureException`

  