- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
DeleteIdentityCommand
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.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { SESClient, DeleteIdentityCommand } from "@aws-sdk/client-ses"; // ES Modules import
// const { SESClient, DeleteIdentityCommand } = require("@aws-sdk/client-ses"); // CommonJS import
const client = new SESClient(config);
const input = { // DeleteIdentityRequest
Identity: "STRING_VALUE", // required
};
const command = new DeleteIdentityCommand(input);
const response = await client.send(command);
// {};
Example Usage
Loading code editorLoading code editor
DeleteIdentityCommand Input
See DeleteIdentityCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
Identity Required | string | undefined | The identity to be removed from the list of identities for the Amazon Web Services account. |
DeleteIdentityCommand Output
See DeleteIdentityCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
SESServiceException | Base exception class for all service exceptions from SES service. |