:doc:`SecurityHub <../../securityhub>` / Client / disassociate_members

********************
disassociate_members
********************



.. py:method:: SecurityHub.Client.disassociate_members(**kwargs)

  

  Disassociates the specified member accounts from the associated administrator account.

   

  Can be used to disassociate both accounts that are managed using Organizations and accounts that were invited manually.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateMembers>`_  


  **Request Syntax**
  ::

    response = client.disassociate_members(
        AccountIds=[
            'string',
        ]
    )
    
  :type AccountIds: list
  :param AccountIds: **[REQUIRED]** 

    The account IDs of the member accounts to disassociate from the administrator account.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`SecurityHub.Client.exceptions.InternalException`

  
  *   :py:class:`SecurityHub.Client.exceptions.InvalidInputException`

  
  *   :py:class:`SecurityHub.Client.exceptions.InvalidAccessException`

  
  *   :py:class:`SecurityHub.Client.exceptions.LimitExceededException`

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

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

  