Cloudflare API Documentation

Does anyone have any experience with this API endpoint and maybe shed some light on whether it'll achieve what I'm looking for: https://developers.cloudflare.com/api/operations/cloudflare-tunnel-clean-up-cloudflare-tunnel-connections Yesterday we had an unforeseen issue when a hardware issue with one of our servers caused all our applications on that node to crash and left our server remotely inaccessible. However, Cloudflared was somehow still running and therefore still accepting ingress traffic that couldn't properly be handled and therefore caused downtime. We had to use a KVM to kill the server to stop Cloudflared which resulted in all traffic being re-routed to healthy servers using that Tunnel. To mitigate this odd condition, is it possible to use the above API endpoint to just ban and exclude a certain tunnel_id from accepting traffic, even if it's seemingly healthy from Cloudflare's side? And if so, would the service try to re-establish connection immediately undoing the purpose of what I'm trying to achieve?
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
1 Reply
Cyb3r-Jak3
Cyb3r-Jak310mo ago
I'm 100% what would happen but I think that that API would cause the cloudflared connector to no longer work until the process is restarted. There isn't a way to start a connector remotely Good to know
Want results from more Discord servers?
Add your server