Restart API

edit

The restart API stops then starts the Watcher service.

Request

edit

POST _xpack/watcher/_restart

Authorization

edit

You must have manage_watcher cluster privileges to use this API. For more information, see Security privileges.

Examples

edit
POST _xpack/watcher/_restart

Watcher returns the following response if the request is successful:

{
   "acknowledged": true
}