NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Restart APIedit
The restart
API stops then starts the Watcher service.
Requestedit
POST _xpack/watcher/_restart
Authorizationedit
You must have manage_watcher
cluster privileges to use this API. For more
information, see Security privileges.
Examplesedit
POST _xpack/watcher/_restart
Watcher returns the following response if the request is successful:
{ "acknowledged": true }