xpack.ml.deleteJobedit

client.xpack.ml.deleteJob({
  job_id: string,
  force: boolean,
  wait_for_completion: boolean
})

Reference

job_id or jobId

string - The ID of the job to delete

force

boolean - True if the job should be forcefully deleted

wait_for_completion or waitForCompletion

boolean - Should this request wait until the operation has completed before returning
Default: true