Forrest logo
back to the aws tool

aws-workmail:tldr:97a1e

aws-workmail: Delete a user from an organization.
$ aws workmail delete-user --user-id ${user_id} --organization-id ${organization_id}
try on your machine

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.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the aws tool