:doc:`Inspector2 <../../inspector2>` / Client / disable_delegated_admin_account

*******************************
disable_delegated_admin_account
*******************************



.. py:method:: Inspector2.Client.disable_delegated_admin_account(**kwargs)

  

  Disables the Amazon Inspector delegated administrator for your organization.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisableDelegatedAdminAccount>`_  


  **Request Syntax**
  ::

    response = client.disable_delegated_admin_account(
        delegatedAdminAccountId='string'
    )
    
  :type delegatedAdminAccountId: string
  :param delegatedAdminAccountId: **[REQUIRED]** 

    The Amazon Web Services account ID of the current Amazon Inspector delegated administrator.

    

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

    
    ::

      {
          'delegatedAdminAccountId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **delegatedAdminAccountId** *(string) --* 

        The Amazon Web Services account ID of the successfully disabled delegated administrator.

        
  
  **Exceptions**
  
  *   :py:class:`Inspector2.Client.exceptions.ConflictException`

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

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

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

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

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

  