delete model from Manager

delete_model_contents(session, model, content, exact = TRUE)

Arguments

session

viya_connection object, obtained through session function

model

MMmodel object, model ID or model name. If name, will try to find a single model with exact name match. See exact parameter

content

MMmodelContentList obtained from list_model_contents(), if missing will delete all files will be deleted.

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_contents(sess, my_model)
} # }