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

*******************
disassociate_member
*******************



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

  

  Disassociates a member account from an Amazon Inspector delegated administrator.

  

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


  **Request Syntax**
  ::

    response = client.disassociate_member(
        accountId='string'
    )
    
  :type accountId: string
  :param accountId: **[REQUIRED]** 

    The Amazon Web Services account ID of the member account to disassociate.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **accountId** *(string) --* 

        The Amazon Web Services account ID of the successfully disassociated member.

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

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

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

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

  