IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Restart API

edit

The restart API stops, then starts the Watcher service, as in the following example:

POST _xpack/watcher/_restart

Watcher returns the following response if the request is successful:

{
   "acknowledged": true
}