原文地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/watcher-api-stop.html, 原文档版权归 www.elastic.co 所有

Stop watch service APIedit

Stops the Watcher service if it is running.

Requestedit

POST _watcher/_stop

Prerequisitesedit

  • You must have manage_watcher cluster privileges to use this API. For more information, see Security privileges.

Examplesedit

POST _watcher/_stop

Watcher returns the following response if the request is successful:

{
   "acknowledged": true
}