CmdID / aws / aws workmail
aws workmail deregister-mail-domain
Removes a domain from WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--domain-nameThe domain to deregister in WorkMail and SES.--organization-idThe WorkMail organization for which the domain will be deregistered.