v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1480317256.9 KB

Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.

post/#X-Amz-Target=WorkMailService.UpdateDefaultMailDomain

Headers

X-Amz-Target'WorkMailService.UpdateDefaultMailDomain' required

Request body

OrganizationIdstring required

The WorkMail organization for which to list domains.

DomainNamestring required

The domain name that will become the default domain.

Response

Success

UpdateDefaultMailDomainResponse required