Stops a trained model deployment.
manage_ml cluster privilege. This privilege is included in the
machine_learning_admin built-in role.
Deployment is required only for trained models that have a PyTorch
- (Required, string) A unique identifier for the deployment of the model.
(Optional, Boolean) Specifies what to do when the request:
- Contains wildcard expressions and there are no deployments that match.
_allstring or no identifiers and there are no matches.
- Contains wildcard expressions and there are only partial matches.
The default value is
true, which returns an empty array when there are no matches and the subset of results when there are partial matches. If this parameter is
false, the request returns a
404status code when there are no matches or only partial matches.
- (Optional, Boolean) If true, the deployment is stopped even if it or one of its model aliases is referenced by ingest pipelines. You can’t use these pipelines until you restart the model deployment.
The following example stops the