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.

    Values are -1 or 0.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • acknowledgedboolean Required

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

POST /_watcher/_stop
curl \
 --request POST 'http://api.example.com/_watcher/_stop' \
 --header "Authorization: $API_KEY"
Response examples (200)
A successful response from `POST _watcher/_stop`.
{
  "acknowledged": true
}