stop-trained-model-deployment.asciidoc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. [role="xpack"]
  2. [[stop-trained-model-deployment]]
  3. = Stop trained model deployment API
  4. [subs="attributes"]
  5. ++++
  6. <titleabbrev>Stop trained model deployment</titleabbrev>
  7. ++++
  8. experimental::[]
  9. Stops a trained model deployment.
  10. [[stop-trained-model-deployment-request]]
  11. == {api-request-title}
  12. `POST _ml/trained_models/<model_id>/deployment/_stop`
  13. [[stop-trained-model-deployment-prereq]]
  14. == {api-prereq-title}
  15. Requires the `manage_ml` cluster privilege. This privilege is included in the
  16. `machine_learning_admin` built-in role.
  17. ////
  18. [[stop-trained-model-deployment-desc]]
  19. == {api-description-title}
  20. ////
  21. [[stop-trained-model-deployment-path-params]]
  22. == {api-path-parms-title}
  23. `<model_id>`::
  24. (Required, string)
  25. include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=model-id]
  26. [[stop-trained-model-deployment-query-params]]
  27. == {api-query-parms-title}
  28. `allow_no_match`::
  29. (Optional, Boolean)
  30. include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=allow-no-match-deployments]
  31. `force`::
  32. (Optional, Boolean) If true, the deployment is stopped even if it is referenced
  33. by ingest pipelines.
  34. ////
  35. [role="child_attributes"]
  36. [[stop-trained-model-deployment-results]]
  37. == {api-response-body-title}
  38. ////
  39. ////
  40. [[stop-trained-models-response-codes]]
  41. == {api-response-codes-title}
  42. ////
  43. ////
  44. [[stop-trained-model-deployment-example]]
  45. == {api-examples-title}
  46. ////