Tunnels
List All Tunnels
client.zeroTrust.tunnels.list(TunnelListParams { account_id, exclude_prefix, existed_at, 10 more } params, RequestOptionsoptions?): V4PagePaginationArray<TunnelListResponse>
GET/accounts/{account_id}/tunnels
TunnelsCloudflared
List Cloudflare Tunnels
client.zeroTrust.tunnels.cloudflared.list(CloudflaredListParams { account_id, exclude_prefix, existed_at, 9 more } params, RequestOptionsoptions?): V4PagePaginationArray<CloudflareTunnel { id, account_tag, config_src, 10 more } >
GET/accounts/{account_id}/cfd_tunnel
Get a Cloudflare Tunnel
client.zeroTrust.tunnels.cloudflared.get(stringtunnelId, CloudflaredGetParams { account_id } params, RequestOptionsoptions?): CloudflareTunnel { id, account_tag, config_src, 10 more }
GET/accounts/{account_id}/cfd_tunnel/{tunnel_id}
Create a Cloudflare Tunnel
client.zeroTrust.tunnels.cloudflared.create(CloudflaredCreateParams { account_id, name, config_src, tunnel_secret } params, RequestOptionsoptions?): CloudflareTunnel { id, account_tag, config_src, 10 more }
POST/accounts/{account_id}/cfd_tunnel
Update a Cloudflare Tunnel
client.zeroTrust.tunnels.cloudflared.edit(stringtunnelId, CloudflaredEditParams { account_id, name, tunnel_secret } params, RequestOptionsoptions?): CloudflareTunnel { id, account_tag, config_src, 10 more }
PATCH/accounts/{account_id}/cfd_tunnel/{tunnel_id}
Delete a Cloudflare Tunnel
client.zeroTrust.tunnels.cloudflared.delete(stringtunnelId, CloudflaredDeleteParams { account_id } params, RequestOptionsoptions?): CloudflareTunnel { id, account_tag, config_src, 10 more }
DELETE/accounts/{account_id}/cfd_tunnel/{tunnel_id}
TunnelsCloudflaredConfigurations
Get configuration
client.zeroTrust.tunnels.cloudflared.configurations.get(stringtunnelId, ConfigurationGetParams { account_id } params, RequestOptionsoptions?): ConfigurationGetResponse { account_id, config, created_at, 3 more }
GET/accounts/{account_id}/cfd_tunnel/{tunnel_id}/configurations
Put configuration
client.zeroTrust.tunnels.cloudflared.configurations.update(stringtunnelId, ConfigurationUpdateParams { account_id, config } params, RequestOptionsoptions?): ConfigurationUpdateResponse { account_id, config, created_at, 3 more }
PUT/accounts/{account_id}/cfd_tunnel/{tunnel_id}/configurations
TunnelsCloudflaredConnections
List Cloudflare Tunnel connections
client.zeroTrust.tunnels.cloudflared.connections.get(stringtunnelId, ConnectionGetParams { account_id } params, RequestOptionsoptions?): SinglePage<Client { id, arch, config_version, 4 more } >
GET/accounts/{account_id}/cfd_tunnel/{tunnel_id}/connections
Clean up Cloudflare Tunnel connections
client.zeroTrust.tunnels.cloudflared.connections.delete(stringtunnelId, ConnectionDeleteParams { account_id, client_id } params, RequestOptionsoptions?): ConnectionDeleteResponse | null
DELETE/accounts/{account_id}/cfd_tunnel/{tunnel_id}/connections
TunnelsCloudflaredToken
Get a Cloudflare Tunnel token
client.zeroTrust.tunnels.cloudflared.token.get(stringtunnelId, TokenGetParams { account_id } params, RequestOptionsoptions?): TokenGetResponse
GET/accounts/{account_id}/cfd_tunnel/{tunnel_id}/token
TunnelsCloudflaredConnectors
Get Cloudflare Tunnel connector
client.zeroTrust.tunnels.cloudflared.connectors.get(stringtunnelId, stringconnectorId, ConnectorGetParams { account_id } params, RequestOptionsoptions?): Client { id, arch, config_version, 4 more }
GET/accounts/{account_id}/cfd_tunnel/{tunnel_id}/connectors/{connector_id}
TunnelsCloudflaredManagement
Get a Cloudflare Tunnel management token
client.zeroTrust.tunnels.cloudflared.management.create(stringtunnelId, ManagementCreateParams { account_id, resources } params, RequestOptionsoptions?): ManagementCreateResponse
POST/accounts/{account_id}/cfd_tunnel/{tunnel_id}/management
TunnelsWARP Connector
List Warp Connector Tunnels
client.zeroTrust.tunnels.warpConnector.list(WARPConnectorListParams { account_id, exclude_prefix, existed_at, 9 more } params, RequestOptionsoptions?): V4PagePaginationArray<WARPConnectorListResponse { id, account_tag, connections, 8 more } >
GET/accounts/{account_id}/warp_connector
Get a Warp Connector Tunnel
client.zeroTrust.tunnels.warpConnector.get(stringtunnelId, WARPConnectorGetParams { account_id } params, RequestOptionsoptions?): WARPConnectorGetResponse { id, account_tag, connections, 8 more }
GET/accounts/{account_id}/warp_connector/{tunnel_id}
Create a Warp Connector Tunnel
client.zeroTrust.tunnels.warpConnector.create(WARPConnectorCreateParams { account_id, name, ha } params, RequestOptionsoptions?): WARPConnectorCreateResponse { id, account_tag, connections, 8 more }
POST/accounts/{account_id}/warp_connector
Update a Warp Connector Tunnel
client.zeroTrust.tunnels.warpConnector.edit(stringtunnelId, WARPConnectorEditParams { account_id, name, tunnel_secret } params, RequestOptionsoptions?): WARPConnectorEditResponse { id, account_tag, connections, 8 more }
PATCH/accounts/{account_id}/warp_connector/{tunnel_id}
Delete a Warp Connector Tunnel
client.zeroTrust.tunnels.warpConnector.delete(stringtunnelId, WARPConnectorDeleteParams { account_id } params, RequestOptionsoptions?): WARPConnectorDeleteResponse { id, account_tag, connections, 8 more }
DELETE/accounts/{account_id}/warp_connector/{tunnel_id}
TunnelsWARP ConnectorToken
Get a Warp Connector Tunnel token
client.zeroTrust.tunnels.warpConnector.token.get(stringtunnelId, TokenGetParams { account_id } params, RequestOptionsoptions?): TokenGetResponse
GET/accounts/{account_id}/warp_connector/{tunnel_id}/token
TunnelsWARP ConnectorConnections
List WARP Connector Tunnel connections
client.zeroTrust.tunnels.warpConnector.connections.get(stringtunnelId, ConnectionGetParams { account_id } params, RequestOptionsoptions?): SinglePage<ConnectionGetResponse { id, arch, conns, 4 more } >
GET/accounts/{account_id}/warp_connector/{tunnel_id}/connections
TunnelsWARP ConnectorConnectors
Get WARP Connector Tunnel connector
client.zeroTrust.tunnels.warpConnector.connectors.get(stringtunnelId, stringconnectorId, ConnectorGetParams { account_id } params, RequestOptionsoptions?): ConnectorGetResponse { id, arch, conns, 4 more }
GET/accounts/{account_id}/warp_connector/{tunnel_id}/connectors/{connector_id}
TunnelsWARP ConnectorFailover
Trigger a manual failover for a WARP Connector Tunnel
client.zeroTrust.tunnels.warpConnector.failover.update(stringtunnelId, FailoverUpdateParams { account_id, client_id } params, RequestOptionsoptions?): FailoverUpdateResponse | null
PUT/accounts/{account_id}/warp_connector/{tunnel_id}/failover