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

***********************************
register_organization_admin_account
***********************************



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

  

  Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.

  

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


  **Request Syntax**
  ::

    response = client.register_organization_admin_account(
        adminAccountId='string'
    )
    
  :type adminAccountId: string
  :param adminAccountId: **[REQUIRED]** 

    The identifier for the delegated administrator account.

    

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

    
    ::

      {
          'adminAccountId': 'string',
          'organizationId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **adminAccountId** *(string) --* 

        The identifier for the delegated administrator account.

        
      

      - **organizationId** *(string) --* 

        The identifier for the organization.

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

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

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

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

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

  