code: def delete(names, yes):
      
      failures = False
      for name in names:
          try:
              experiment = ExperimentClient().get(normalize_job_name(name))
          except FloydException:
              experiment = ExperimentClient().get(name)
  
          if not experiment:
              failures = True
              continue
  
          if not yes and not click.confirm("Delete Job: {}?".format(experiment.name),
                                           abort=False,
                                           default=False):
              floyd_logger.info("Job {}: Skipped.".format(experiment.name))
              continue
  
          if not ExperimentClient().delete(experiment.id):
              failures = True
          else:
              floyd_logger.info("Job %s Deleted", experiment.name)
  
      if failures:
          sys.exit(1)
docs: Delete a training job.