removeUserFromGroup
inline suspend fun IamClient.removeUserFromGroup(crossinline block: RemoveUserFromGroupRequest.Builder.() -> Unit): 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
}