How to refresh an SES domain that has failed verification

0

For Amazon SES, If a domain in the Pending state is not verified within 72 hours it goes into the Unverified (Failed) state. If the DKIM records are configured it will not automatically be verified. There is a "Retry" option in the console that puts the domain back in the pending state so that it will be verified. The question is how can the Retry be triggered via the API?

The only option I can see is to delete and re-add it. Is there are cleaner or proper way of doing it?

BrianJ
asked a year ago495 views
2 Answers
1

There is no API Call to 'retry' the Domain verification process through API Calls. In the case of domian re-verification via API call, you would first need to 'delete' the domain using 'DeleteIdentity' API call and then attempt to verify the domain again using the 'VerifyDomainIdentity' API call

DeleteIdentity - https://docs.aws.amazon.com/ses/latest/APIReference/API_DeleteIdentity.html

VerifyDomainIdentity - https://docs.aws.amazon.com/ses/latest/APIReference/API_VerifyDomainIdentity.html

profile picture
EXPERT
answered a year ago
0
Accepted Answer

I am just following up. I found another post that said it could be done with Version1 of the API by calling VerifyDomainDkim(). I tried it out and it worked perfectly.

https://stackoverflow.com/questions/74747845/can-i-retry-dkim-domain-verification-in-aws-through-api-or-some-other-automated

BrianJ
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions