DeleteModelJob {datarobot}R Documentation

Delete a model job from the modeling queue

Description

This function deletes the modeling job specified by modelJobId from the DataRobot modeling queue.

Usage

DeleteModelJob(project, modelJobId)

Arguments

project

character. Either (1) a character string giving the unique alphanumeric identifier for the project, or (2) a list containing the element projectId with this identifier.

modelJobId

integer. Identifier for the modeling job to be deleted; can be obtained from the results returned by the function ListModelJobs.

Examples

## Not run: 
  projectId <- "59a5af20c80891534e3c2bde"
  initialJobs <- ListModelJobs(project)
  job <- initialJobs[[1]]
  modelJobId <- job$modelJobId
  DeleteModelJob(projectId, modelJobId)

## End(Not run)

[Package datarobot version 2.18.6 Index]