IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Stop watch service API
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Stop watch service API
editStops the Watcher service if it is running.
Request
editPOST _watcher/_stop
Prerequisites
edit-
You must have
manage_watcher
cluster privileges to use this API. For more information, see Security privileges.
Query parameters
edit-
master_timeout
-
(Optional, time units)
Period to wait for the master node. If the master node is not available before
the timeout expires, the request fails and returns an error. Defaults to
30s
. Can also be set to-1
to indicate that the request should never timeout.
Examples
editresponse = client.watcher.stop puts response
POST _watcher/_stop
Watcher returns the following response if the request is successful:
{ "acknowledged": true }
Was this helpful?
Thank you for your feedback.