UntagUser#

Description#

Deletes tags of an IAM user.

Request Parameters#

  • UserName — The name of the user.

    • Type: String

    • Required: Yes

  • TagKeys.N — The keys of tags to be deleted.

    • Type: Array of strings

    • Required: Yes

Response Elements#

If the request is successful, API returns the HTTP 200 response with an empty HTTP body.

Examples#

Request

https://iam.k2.cloud/?Action=UntagUser
&UserName=user-1
&TagKeys.member.1=tagkey
&TagKeys.member.2=anothertagkey
c2-iam UntagUser UserName user-1 TagKeys.1 "Tag Key" TagKeys.2 "Another Tag Key"