**To change an IAM user's name**

The following ``update-user`` command changes the name of the IAM user ``Bob`` to ``Robert``::

  aws iam update-user --user-name Bob --new-user-name Robert

For more information, see `Renaming Users and Groups`_ in the *Using IAM* guide.
