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
質問済み 1年前517ビュー
2回答
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
エキスパート
回答済み 1年前
0
承認された回答

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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ