:doc:`GuardDuty <../../guardduty>` / Client / disable_organization_admin_account

**********************************
disable_organization_admin_account
**********************************



.. py:method:: GuardDuty.Client.disable_organization_admin_account(**kwargs)

  

  Removes the existing GuardDuty delegated administrator of the organization. Only the organization's management account can run this API operation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisableOrganizationAdminAccount>`_  


  **Request Syntax**
  ::

    response = client.disable_organization_admin_account(
        AdminAccountId='string'
    )
    
  :type AdminAccountId: string
  :param AdminAccountId: **[REQUIRED]** 

    The Amazon Web Services Account ID for the organizations account to be disabled as a GuardDuty delegated administrator.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`GuardDuty.Client.exceptions.BadRequestException`

  
  *   :py:class:`GuardDuty.Client.exceptions.InternalServerErrorException`

  