code: def change_group_name(args: Namespace) -> None:
      session = setup_session(args)
      group_id = api.group_name_to_group_id(
          session, args.old_group_name
      )
      body = bindings.v1UpdateGroupRequest(
          groupId=group_id, name=args.new_group_name
      )
      resp = bindings.put_UpdateGroup(
          session, groupId=group_id, body=body
      )
      g = resp.group
  
      print(
          f"user group with ID {g.groupId} name changed from {args.old_group_name} to {g.name}"
      )
  
file_path: determined/harness/determined/cli/user_groups.py
imports: from argparse import Namespace
  from collections import namedtuple
  from typing import Any, List
  import determined.cli.render
  from determined.cli import default_pagination_args, render, require_feature_flag, setup_session
  from determined.common import api
  from determined.common.api import authentication, bindings
  from determined.common.declarative_argparse import Arg, Cmd
label_desc: Use image node_id 6 for calling a global function with example usage: change_group_name(args) without return types