0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.135.199.179


Current Path : /proc/thread-self/root/usr/share/doc/awscli/examples/iam/
Upload File :
Current File : //proc/thread-self/root/usr/share/doc/awscli/examples/iam/delete-user-policy.rst

**To remove a policy from an IAM user**

The following ``delete-user-policy`` command removes the specified policy from the IAM user named ``Bob``::

  aws iam delete-user-policy --user-name Bob --policy-name ExamplePolicy

To get a list of policies for an IAM user, use the ``list-user-policies`` command.

For more information, see `Adding a New User to Your AWS Account`_ in the *Using IAM* guide.

.. _`Adding a New User to Your AWS Account`: http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_SettingUpUser.html