New

The executive guide to generative AI

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

Stop API

The stop API stops the Watcher service if the service is running.

Request

POST _xpack/watcher/_stop

Authorization

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

Examples

POST _xpack/watcher/_stop

Watcher returns the following response if the request is successful:

{
   "acknowledged": true
}
Was this helpful?
Feedback