Nothing
#' Delete a model job from the modeling queue
#'
#' This function deletes the modeling job specified by modelJobId from
#' the DataRobot modeling queue.
#'
#' @param 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.
#' @param modelJobId integer. Identifier for the modeling job to be
#' deleted; can be obtained from the results returned by the function
#' ListModelJobs.
#' @examples
#' \dontrun{
#' projectId <- "59a5af20c80891534e3c2bde"
#' initialJobs <- ListModelJobs(project)
#' job <- initialJobs[[1]]
#' modelJobId <- job$modelJobId
#' DeleteModelJob(projectId, modelJobId)
#' }
#' @export
DeleteModelJob <- function(project, modelJobId) {
projectId <- ValidateProject(project)
routeString <- UrlJoin("projects", projectId, "modelJobs", modelJobId)
response <- DataRobotDELETE(routeString)
message(paste("Job", modelJobId, "deleted from project", projectId))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.