code: def cli(env, group_id, name, description):
      
      mgr = SoftLayer.NetworkManager(env.client)
      data = {}
      if name:
          data['name'] = name
      if description:
          data['description'] = description
  
      if not mgr.edit_securitygroup(group_id, **data):
          raise exceptions.CLIAbort("Failed to edit security group")
docs: Edit details of a security group.