untagUser

inline suspend fun IamClient.untagUser(crossinline block: UntagUserRequest.Builder.() -> Unit): UntagUserResponse

Removes the specified tags from the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Samples


fun main() { 
   //sampleStart 
   // The following example shows how to remove tags that are attached to a user named anika
iamClient.untagUser {
    userName = "anika"
    tagKeys = listOf<String>(
        "Dept"
    )
} 
   //sampleEnd
}