v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1480317256.9 KB

Updates the primary email for a user, group, or resource. The current email is moved into the list of aliases (or swapped between an existing alias and the current primary email), and the email provided in the input is promoted as the primary.

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

Headers

X-Amz-Target'WorkMailService.UpdatePrimaryEmailAddress' required

Request body

OrganizationIdstring required

The organization that contains the user, group, or resource to update.

EntityIdstring required

The user, group, or resource to update.

Emailstring required

The value of the email to be updated as primary.

Response

Success

UpdatePrimaryEmailAddressResponse required