Remove PMML model from server and list remaining models.

delete_model(model_name, ...)

Arguments

model_name

Name of the model to be deleted.

...

Additional arguments passed on to the underlying HTTP method. This might be necessary if you need to set some curl options explicitly via config.

Value

If deletion is successful, a vector of names of models remaining deployed on the server with model_name missing in it. Otherwise, an error.

See also

Examples

if (FALSE) { delete("iris_model") #Delete all models get_models() %>% purrr:::map(delete_model) }