Deactivate a watch

PUT /_watcher/watch/{watch_id}/_deactivate

A watch can be either active or inactive.

External documentation

Path parameters

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • status object Required
      Hide status attributes Show status attributes object
PUT /_watcher/watch/{watch_id}/_deactivate
curl \
 --request PUT 'http://api.example.com/_watcher/watch/{watch_id}/_deactivate' \
 --header "Authorization: $API_KEY"