DeleteJob: Cancel a running job

Description Usage Arguments Examples

View source: R/Jobs.R

Description

Cancel a running job

Usage

1
DeleteJob(job)

Arguments

job

object. The job you want to cancel (one of the items in the list returned from ListJobs)

Examples

1
2
3
4
5
6
7
## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  initialJobs <- ListModelJobs(project)
  job <- initialJobs[[1]]
  DeleteJob(job)

## End(Not run)

datarobot documentation built on June 2, 2021, 9:06 a.m.