def METHOD_NAME(self, user, team_name):
    # delete a user from the group/team
    group = Group.objects.get(name=team_name)
    kc_group_id = group.team.kc_id
    kc_user_id = user.member.kc_id
    self.auth_client.group_user_remove(kc_user_id, kc_group_id)