Stop the watch service

POST /_watcher/_stop

Stop the Watcher service if it is running.

Query parameters

  • The 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. To indicate that the request should never timeout, set it to -1.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • acknowledged boolean Required

      For a successful response, this value is always true. On failure, an exception is returned instead.

POST /_watcher/_stop
curl \
 -X POST http://api.example.com/_watcher/_stop
Response examples (200)
{
  "acknowledged": true
}