Last chance! 50% off unlimited learning
Sale ends in
Removes the specified tags from the user. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.
iam_untag_user(UserName, TagKeys)
[required] The name of the IAM user from which you want to remove tags.
This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
[required] A list of key names as a simple array of strings. The tags with matching keys are removed from the specified user.
svc$untag_user( UserName = "string", TagKeys = list( "string" ) )
# NOT RUN {
# The following example shows how to remove tags that are attached to a
# user named 'anika'.
svc$untag_user(
TagKeys = list(
"Dept"
),
UserName = "anika"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab