docstr: Stop a running job.
  
  Args:
      api_name: Name of the Batch/Task API.
      job_id: ID of the Job to stop.
docstr_tok: ["Stop","a","running","job",".","Args",":","api_name",":","Name","of","the","Batch\/Task","API",".","job_id",":","ID","of","the","Job","to","stop","."]
code: def stop_job(
      self, api_name: str, job_id: str, keep_cache: bool = False
  ):
      """
      Stop a running job.
  
      Args:
          api_name: Name of the Batch/Task API.
          job_id: ID of the Job to stop.
      """
      args = [
          "delete",
          api_name,
          job_id,
          "--env",
          self.env_name,
          "-o",
          "json",
      ]
  
      run_cli(args)
  
file_path: cortex/python/client/cortex/client.py
imports: import json
  import os
  import shutil
  import time
  import yaml
  from typing import List, Dict, Any
  from cortex import util
  from cortex.binary import run_cli
  from cortex.telemetry import sentry_wrapper
label_desc: Use image node_id 9 for calling the Client obj's underlying member method code with example usage: obj.stop_job(api_name, job_id, keep_cache) without return types