Delete a trained model alias
- DELETE /_ml/trained_models/{model_id}/model_aliases/{model_alias}
This API deletes an existing model alias that refers to a trained model. If
the model alias is missing or refers to a model other than the one identified
by the model_id, this API returns an error.
- Cluster privileges:
manage_ml
Path Parameters
-
model_idstring Idrequired -
The trained model ID to which the model alias refers.
-
model_aliasstring Namerequired -
The model alias to delete.
Response
application/json
-
acknowledgedbooleanrequired -
For a successful response, this value is always true. On failure, an exception is returned instead.