**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 `Changing a Group's Name or Path`_ in the *Using IAM* guide.

.. _`Changing a Group's Name or Path`: http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_RenamingGroup.html

