:doc:`SESV2 <../../sesv2>` / Client / delete_tenant

*************
delete_tenant
*************



.. py:method:: SESV2.Client.delete_tenant(**kwargs)

  

  Delete an existing tenant.

   

  When you delete a tenant, its associations with resources are removed, but the resources themselves are not deleted.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteTenant>`_  


  **Request Syntax**
  ::

    response = client.delete_tenant(
        TenantName='string'
    )
    
  :type TenantName: string
  :param TenantName: **[REQUIRED]** 

    The name of the tenant to delete.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

      
  
  **Exceptions**
  
  *   :py:class:`SESV2.Client.exceptions.NotFoundException`

  
  *   :py:class:`SESV2.Client.exceptions.TooManyRequestsException`

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

  