![Forrest logo](/images/logo.png)
aws-workmail:tldr:97a1e
The command "aws workmail delete-user --user-id ${user_id} --organization-id ${organization_id}" is used to delete a user from an Amazon WorkMail organization in the AWS Command Line Interface (CLI).
Here's a breakdown of the command:
-
aws workmail
: This specifies the AWS WorkMail service for the CLI to interact with. -
delete-user
: This is the specific API action used to delete a user. -
--user-id ${user_id}
: This flag is used to specify the user ID of the user you want to delete. The value of${user_id}
should be replaced with the actual user ID. -
--organization-id ${organization_id}
: This flag is used to specify the organization ID of the WorkMail organization that the user belongs to. The value of${organization_id}
should be replaced with the actual organization ID.
By providing the correct user ID and organization ID, this command will delete the specified user from the WorkMail organization.