Remove a user principal.
Section: IAM Users and Groups
Delete an IAM user
bash
bash
aws iam delete-user --user-name deploy-botExplanation
The user must have dependent resources removed first.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing IAM Users and Groups