:doc:`AuditManager <../../auditmanager>` / Client / delete_control

**************
delete_control
**************



.. py:method:: AuditManager.Client.delete_control(**kwargs)

  

  Deletes a custom control in Audit Manager.

   

  .. warning::

     

    When you invoke this operation, the custom control is deleted from any frameworks or assessments that it’s currently part of. As a result, Audit Manager will stop collecting evidence for that custom control in all of your assessments. This includes assessments that you previously created before you deleted the custom control.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl>`_  


  **Request Syntax**
  ::

    response = client.delete_control(
        controlId='string'
    )
    
  :type controlId: string
  :param controlId: **[REQUIRED]** 

    The unique identifier for the control.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`AuditManager.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`AuditManager.Client.exceptions.ValidationException`

  
  *   :py:class:`AuditManager.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`AuditManager.Client.exceptions.InternalServerException`

  