EasypanelDocs

Create a Cloudflare tunnel rule

Creates a Cloudflare DNS record and adds it to the tunnel configuration.

POST
/createTunnelRule

Creates a Cloudflare DNS record and adds it to the tunnel configuration.

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/createTunnelRule" \  -H "Content-Type: application/json" \  -d '{    "domain": "string",    "internalPort": 0,    "internalProtocol": "http",    "path": "string",    "projectName": "string",    "serviceName": "string",    "subdomain": "string",    "zoneId": "string"  }'
null