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
demandé il y a un an517 vues
2 réponses
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
répondu il y a un an
0
Réponse acceptée

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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions