PUT /_watcher/watch/{watch_id}/_deactivate

A watch can be either active or inactive.

Required authorization

  • Cluster privileges: manage_watcher
More about how Watcher works

Path parameters

  • watch_id string Required

    The watch identifier.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • status object Required
      Hide status attributes Show status attributes object
      • actions object Required
        Hide actions attribute Show actions attribute object
        • * object Additional properties
      • state object Required
        Hide state attributes Show state attributes object
        • active boolean Required
        • timestamp
      • version number Required
PUT /_watcher/watch/{watch_id}/_deactivate
curl \
 --request PUT 'http://api.example.com/_watcher/watch/{watch_id}/_deactivate'