delete_model: Delete PMML model

Description Usage Arguments Value See Also Examples

View source: R/model_operations.R

Description

Remove PMML model from server and list remaining models.

Usage

1
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

upload_model

Examples

1
2
3
4
5
6
7
## Not run: 
 delete("iris_model")

 #Delete all models
 get_models() %>% purrr:::map(delete_model)
 
## End(Not run)

alex23lemm/zementisr documentation built on Jan. 9, 2020, 1:49 a.m.