Deactivates an existing PMML model which was deployed to Zementis Server.
deactivate_model(model_name, ...)
model_name | The name of the PMML model that is deactivated on Zementis server. |
---|---|
... | Additional arguments passed on to the underlying HTTP method.
This might be necessary if you need to set some curl options explicitly
via |
If the model name is not known to the server, an error. Otherwise a list with components:
model_name
The model_name
of the deactivated model
is_active
A logical indicating the activation status of the model
if (FALSE) { deactivate_model("iris_model") #Deactivate all models on the server get_models() %>% purrr::map_df(deactivate_model) }