:doc:`BillingConductor <../../billingconductor>` / Client / disassociate_accounts

*********************
disassociate_accounts
*********************



.. py:method:: BillingConductor.Client.disassociate_accounts(**kwargs)

  

  Removes the specified list of account IDs from the given billing group.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DisassociateAccounts>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the billing group that the array of account IDs will disassociate from.

    

  
  :type AccountIds: list
  :param AccountIds: **[REQUIRED]** 

    The array of account IDs to disassociate.

    

  
    - *(string) --* 

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **Arn** *(string) --* 

        The Amazon Resource Name (ARN) of the billing group that the array of account IDs is disassociated from.

        
  
  **Exceptions**
  
  *   :py:class:`BillingConductor.Client.exceptions.ConflictException`

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

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

  
  *   :py:class:`BillingConductor.Client.exceptions.ValidationException`

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

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

  