Deletes a trained model alias.
Requires the manage_ml
cluster privilege. This privilege is included in the
machine_learning_admin
built-in role.
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.
-
model_alias
- (Required, string) The model alias to delete.
-
model_id
- (Required, string) The trained model ID to which the model alias refers.