:doc:`PinpointEmail <../../pinpoint-email>` / Client / delete_email_identity

*********************
delete_email_identity
*********************



.. py:method:: PinpointEmail.Client.delete_email_identity(**kwargs)

  

  Deletes an email identity that you previously verified for use with Amazon Pinpoint. An identity can be either an email address or a domain name.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteEmailIdentity>`_  


  **Request Syntax**
  ::

    response = client.delete_email_identity(
        EmailIdentity='string'
    )
    
  :type EmailIdentity: string
  :param EmailIdentity: **[REQUIRED]** 

    The identity (that is, the email address or domain) that you want to delete from your Amazon Pinpoint account.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      An HTTP 200 response if the request succeeds, or an error message if the request fails.

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

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

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

  
  *   :py:class:`PinpointEmail.Client.exceptions.ConcurrentModificationException`

  