removeUserFromGroup
abstract suspend fun removeUserFromGroup(input: RemoveUserFromGroupRequest): RemoveUserFromGroupResponse
Removes the specified user from the specified group.
Samples
fun main() {
//sampleStart
// The following command removes the user named Bob from the IAM group named Admins.
iamClient.removeUserFromGroup {
userName = "Bob"
groupName = "Admins"
}
//sampleEnd
}