delete_model_contents.Rd
delete model from Manager
delete_model_contents(session, model, content, exact = TRUE)
viya_connection object, obtained through session
function
MMmodel
object, model ID or model name. If name, will try to find a single model with exact name match. See exact
parameter
MMmodelContentList
obtained from list_model_contents()
, if missing will delete all files will be deleted.
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_contents(sess, my_model)
} # }