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

*********************************
enable_organization_admin_account
*********************************



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

  

  Designates an Amazon Web Services account within the organization as your GuardDuty delegated administrator. 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/EnableOrganizationAdminAccount>`_  


  **Request Syntax**
  ::

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

    The Amazon Web Services account ID for the organization account to be enabled 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`

  