Delete a trained model alias Added in 7.13.0
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.
Path parameters
-
The trained model ID to which the model alias refers.
-
The model alias to delete.
DELETE /_ml/trained_models/{model_id}/model_aliases/{model_alias}
curl \
-X DELETE http://api.example.com/_ml/trained_models/{model_id}/model_aliases/{model_alias}
Response examples (200)
{
"acknowledged": true
}