untag-user

Removes the specified tags from the user.

Refer to AWS help for more information.

Note

The requester must have iam:UntagUser permissions on the target users.

Synopsis

untag-user
  --user-name <value>
  --tag-keys <value>

Options

--user-name (string)

The name of the IAM user to which you want to add tags.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _, +, =, ,, ., @, and -.

--tag-keys (string)

A list of key names as a simple array of strings. The tags with matching keys are removed from the specified user.

Examples

To remove tags from an IAM user

The following untag-user command removes any tag with the key name Department from the IAM user named Alice.

aws iam untag-user --user-name Alice --tag-keys '["Department", "Cost Center"]'

Output

None