:doc:`IoTWireless <../../iotwireless>` / Client / disassociate_aws_account_from_partner_account

*********************************************
disassociate_aws_account_from_partner_account
*********************************************



.. py:method:: IoTWireless.Client.disassociate_aws_account_from_partner_account(**kwargs)

  

  Disassociates your AWS account from a partner account. If ``PartnerAccountId`` and ``PartnerType`` are ``null``, disassociates your AWS account from all partner accounts.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateAwsAccountFromPartnerAccount>`_  


  **Request Syntax**
  ::

    response = client.disassociate_aws_account_from_partner_account(
        PartnerAccountId='string',
        PartnerType='Sidewalk'
    )
    
  :type PartnerAccountId: string
  :param PartnerAccountId: **[REQUIRED]** 

    The partner account ID to disassociate from the AWS account.

    

  
  :type PartnerType: string
  :param PartnerType: **[REQUIRED]** 

    The partner type.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`IoTWireless.Client.exceptions.ValidationException`

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

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

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

  