Deactivate a watch
          
      Generally available
 
        
        
        All methods and paths for this operation:
                      PUT
                      /_watcher/watch/{watch_id}/_deactivate
                      
                      POST
                      /_watcher/watch/{watch_id}/_deactivate
                      
A watch can be either active or inactive.
Required authorization
- Cluster privileges: 
manage_watcher 
        POST
    /_watcher/watch/{watch_id}/_deactivate
  
  
                    Console
      
        
  PUT _watcher/watch/my_watch/_deactivate
              resp = client.watcher.deactivate_watch(
    watch_id="my_watch",
)
              const response = await client.watcher.deactivateWatch({
  watch_id: "my_watch",
});
              response = client.watcher.deactivate_watch(
  watch_id: "my_watch"
)
              $resp = $client->watcher()->deactivateWatch([
    "watch_id" => "my_watch",
]);
              curl -X PUT -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_watcher/watch/my_watch/_deactivate"