delete_model.Rd
delete a model from Model Manager
delete_model(session, model, exact = TRUE)
viya_connection object, obtained through session
function
MMmodel
or MMmodelVersion
object, model ID or model name. If name, will try to find a single model with exact name match. See exact
parameter
the filter query should use "contains" for partial match or "eq" for exact match
A httr::response
object.
if (FALSE) { # \dontrun{
my_model <- get_model(sess, "MyModel")
delete_model(sess, my_model)
} # }