:doc:`TaxSettings <../../taxsettings>` / Client / batch_delete_tax_registration

*****************************
batch_delete_tax_registration
*****************************



.. py:method:: TaxSettings.Client.batch_delete_tax_registration(**kwargs)

  

  Deletes tax registration for multiple accounts in batch. This can be used to delete tax registrations for up to five accounts in one batch.

   

  .. note::

    

    This API operation can't be used to delete your tax registration in Brazil. Use the `Payment preferences <https://console.aws.amazon.com/billing/home#/paymentpreferences/paymentmethods>`__ page in the Billing and Cost Management console instead.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/taxsettings-2018-05-10/BatchDeleteTaxRegistration>`_  


  **Request Syntax**
  ::

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

    List of unique account identifiers.

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'errors': [
              {
                  'accountId': 'string',
                  'code': 'string',
                  'message': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **errors** *(list) --* 

        The list of errors for the accounts the TRN information could not be deleted for.

        
        

        - *(dict) --* 

          The error object for representing failures in the ``BatchDeleteTaxRegistration`` operation.

          
          

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

            The unique account identifier for the account whose tax registration couldn't be deleted during the ``BatchDeleteTaxRegistration`` operation.

            
          

          - **code** *(string) --* 

            The error code for an individual failure in BatchDeleteTaxRegistration operation.

            
          

          - **message** *(string) --* 

            The error message for an individual failure in the ``BatchDeleteTaxRegistration`` operation.

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

  
  *   :py:class:`TaxSettings.Client.exceptions.ConflictException`

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

  