Update a Cloudflare tunnel rule
Replaces a Cloudflare tunnel rule and updates its DNS record.
Replaces a Cloudflare tunnel rule and updates its DNS record.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/updateTunnelRule" \ -H "Content-Type: application/json" \ -d '{ "dnsRecordId": "string", "domain": "string", "id": "string", "internalPort": 0, "internalProtocol": "http", "path": "string", "projectName": "string", "serviceName": "string", "subdomain": "string", "zoneId": "string" }'null