:doc:`ConnectCases <../../connectcases>` / Client / delete_domain

*************
delete_domain
*************



.. py:method:: ConnectCases.Client.delete_domain(**kwargs)

  

  Deletes a Cases domain.

   

  .. note::

    

    After deleting your domain you must disassociate the deleted domain from your Amazon Connect instance with another API call before being able to use Cases again with this Amazon Connect instance. See `DeleteIntegrationAssociation <https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteIntegrationAssociation.html>`__.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteDomain>`_  


  **Request Syntax**
  ::

    response = client.delete_domain(
        domainId='string'
    )
    
  :type domainId: string
  :param domainId: **[REQUIRED]** 

    The unique identifier of the Cases domain.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`ConnectCases.Client.exceptions.InternalServerException`

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

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

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

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

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

  