What is the name of the domain?
none
What is the error number?
no error
What is the issue you’re encountering
Tunnel keeps getting listed but as status: inactive
none
no error
Tunnel keeps getting listed but as status: inactive
I delete my tunnel with the API call
{{cloudflare_api_path}}/accounts/{{account_id}}/cfd_tunnel/{tunnelid}
But still i get’s in the list with the API call
{{cloudflare_api_path}}/accounts/{{account_id}}/tunnels
It is gone in the web interface
May I ask if the tunnel was running as a service on the host, and you didn’t uninstalled the service at the host itself?
Is the CNAME record still present as a DNS record under the DNS tab of Cloudflare dashboard for the zone where, if, the public hostname was used and configured?
Was the tunnel managed via Zero Trust Dashboard or CLI locally?
A tunnel cannot be deleted if it has active connections.
Did you tried logging into the host via SSH and running cloudflared service uninstall
?
Hello fritex,
Not running on any host.
Just created it with the API call with postman
{{cloudflare_api_path}}/accounts/{{account_id}}/cfd_tunnel
with body
“name”: “test-api-tunnel”,
“config_src”: “cloudflare”,
“config”: {},
“account_tag”: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
and tried to delete this tunnel.
The respons was OK and the tunnel is gone from the UI but still listed in the API call
{{cloudflare_api_path}}/accounts/{{account_id}}/tunnels
Were you trying it out and may I ask was it a Quick Tunnel maybe?
Thank you for feedback.
No not quick tunnel, already have a actieve tunnel under my dns record, but i want to create the tunnel in the future with a script, and everythings works only i can’t delete my test tunnels, because the status only change to inactive