CmdID

CmdID / Commands

aws-workmail

Manage Amazon WorkMail. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List all WorkMail organizations

aws workmail list-organizationsIdentify

List all users of a specific organization

aws workmail list-users --organization-id organization_idIdentify
--organization-idThe identifier for the organization under which the users exist. AWS CLI reference

Create a WorkMail user in a specific organization

aws workmail create-user --name username --display-name name --password password --organization-id organization_idIdentify
--nameThe name for the new user. AWS CLI reference
--display-nameThe display name for the new user. AWS CLI reference
--passwordThe password for the new user. AWS CLI reference
--organization-idThe identifier of the organization for which the user is created. AWS CLI reference

Register and enable a group/user to WorkMail

aws workmail register-to-work-mail --entity-id entity_id --email email --organization-id organization_idIdentify
--entity-idThe identifier for the user, group, or resource to be updated. AWS CLI reference
--emailThe email for the user, group, or resource to be updated. AWS CLI reference
--organization-idThe identifier for the organization under which the user, group, or resource exists. AWS CLI reference

Create a WorkMail group in a specific organization

aws workmail create-group --name group_name --organization-id organization_idIdentify
--nameThe name of the group. AWS CLI reference
--organization-idThe organization under which the group is to be created. AWS CLI reference

Associate a member to a specific group

aws workmail associate-member-to-group --group-id group_id --member-id member_id --organization-id organization_idIdentify
--group-idThe group to which the member (user or group) is associated. AWS CLI reference
--member-idThe member (user or group) to associate to the group. AWS CLI reference
--organization-idThe organization under which the group exists. AWS CLI reference

Deregister and disable a user/group from WorkMail

aws workmail deregister-from-work-mail --entity-id entity_id --organization-id organization_idIdentify
--entity-idThe identifier for the member to be updated. AWS CLI reference
--organization-idThe identifier for the organization under which the WorkMail entity exists. AWS CLI reference

Delete a user from an organization

aws workmail delete-user --user-id user_id --organization-id organization_idIdentify
--user-idThe identifier of the user to be deleted. AWS CLI reference
--organization-idThe organization that contains the user to be deleted. AWS CLI reference