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.
POST _watcher/_stop
resp = client.watcher.stop()
const response = await client.watcher.stop();
response = client.watcher.stop
$resp = $client->watcher()->stop();
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_watcher/_stop"
{
"acknowledged": true
}