Deletes an existing trained inference model.
Requires the manage_ml
cluster privilege. This privilege is included in the
machine_learning_admin
built-in role.
-
force
- (Optional, Boolean) Use to forcefully delete a trained model that is referenced by ingest pipelines or has a started deployment.
-
409
- The code indicates that the trained model is referenced by an ingest pipeline and cannot be deleted.