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.

Query parametersedit

master_timeout
(Optional, time units) Specifies the period of time to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. Defaults to 30s.

Examplesedit

POST _watcher/_stop

Watcher returns the following response if the request is successful:

{
   "acknowledged": true
}