delete a model from Model Manager

delete_model(session, model, exact = TRUE)

Arguments

session

viya_connection object, obtained through session function

model

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

exact

the filter query should use "contains" for partial match or "eq" for exact match

Value

A httr::response object.

Examples


if (FALSE) { # \dontrun{
my_model <- get_model(sess, "MyModel")

delete_model(sess, my_model)
} # }