PATCH
/servers/{uuid}/cloudflare-tunnelUpdate server Cloudflare Tunnel settings
Updates the stored Cloudflare Tunnel setting for a server without applying remote cloudflared configuration. Set is_cloudflare_tunnel to record the setting you want stored. Use the server's Cloudflare Tunnel enable or disable operation for the manual UI actions.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
uuidstringrequired
The UUID of the server whose Cloudflare Tunnel setting you want to update.
Cloudflare Tunnel settings to store for the server.
is_cloudflare_tunnelbooleanoptional
Whether the server's Cloudflare Tunnel setting is enabled.
200Returns confirmation that the Cloudflare Tunnel settings were updated.
400Returned when the token is invalid.
messagestringoptional
401Returned when the request is unauthenticated.
messagestringoptional
404Returned when the server or another required resource is not found.
messagestringoptional
422Returned when the request fails validation.
errorsobjectoptional
messagestringoptional
Error handling
A 400 is returned when the token is invalid. A 401 is returned when the request is unauthenticated. A 404 is returned when the server is not found, and a 422 is returned when the request fails validation. The uuid path parameter must identify the server, and is_cloudflare_tunnel must be a boolean when provided.