:doc:`Chime <../../chime>` / Client / delete_account

**************
delete_account
**************



.. py:method:: Chime.Client.delete_account(**kwargs)

  

  Deletes the specified Amazon Chime account. You must suspend all users before deleting ``Team`` account. You can use the  BatchSuspendUser action to dodo.

   

  For ``EnterpriseLWA`` and ``EnterpriseAD`` accounts, you must release the claimed domains for your Amazon Chime account before deletion. As soon as you release the domain, all users under that account are suspended.

   

  Deleted accounts appear in your ``Disabled`` accounts list for 90 days. To restore deleted account from your ``Disabled`` accounts list, you must contact AWS Support.

   

  After 90 days, deleted accounts are permanently removed from your ``Disabled`` accounts list.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAccount>`_  


  **Request Syntax**
  ::

    response = client.delete_account(
        AccountId='string'
    )
    
  :type AccountId: string
  :param AccountId: **[REQUIRED]** 

    The Amazon Chime account ID.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Chime.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`Chime.Client.exceptions.NotFoundException`

  
  *   :py:class:`Chime.Client.exceptions.ForbiddenException`

  
  *   :py:class:`Chime.Client.exceptions.BadRequestException`

  
  *   :py:class:`Chime.Client.exceptions.ThrottledClientException`

  
  *   :py:class:`Chime.Client.exceptions.UnprocessableEntityException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceFailureException`

  