delete_identity

SES.Client.delete_identity(**kwargs)

Deletes the specified identity (an email address or a domain) from the list of verified identities.

You can execute this operation no more than once per second.

See also: AWS API Documentation

Request Syntax

response = client.delete_identity(
    Identity='string'
)
Parameters
Identity (string) --

[REQUIRED]

The identity to be removed from the list of identities for the AWS Account.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

    An empty element returned on a successful request.

Examples

The following example deletes an identity from the list of identities that have been submitted for verification with Amazon SES:

response = client.delete_identity(
    Identity='user@example.com',
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}