---
title: Tunnels
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

[Zero Trust](https://developers.cloudflare.com/api/typescript/resources/zero_trust)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Tunnels

##### [List All Tunnels](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/methods/list)

client.zeroTrust.tunnels.list(TunnelListParams {account\_id, exclude\_prefix, existed\_at, 10 more } params, RequestOptionsoptions?): V4PagePaginationArray< [TunnelListResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)>)>

GET/accounts/{account\_id}/tunnels

##### ModelsExpand Collapse

<details>

<summary>

TunnelListResponse = <a href="https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)">CloudflareTunnel</a> {id, account\_tag, config\_src, 10 more } | TunnelWARPConnectorTunnel {id, account\_tag, connections, 8 more }

A Cloudflare Tunnel that connects your origin to Cloudflare’s edge.

</summary>

One of the following:

<details>

<summary>

CloudflareTunnel {id, account\_tag, config\_src, 10 more }

A Cloudflare Tunnel that connects your origin to Cloudflare’s edge.

</summary>

id?: string

UUID of the tunnel.

formatuuid

maxLength36

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account\_tag?: string

Cloudflare account ID

maxLength32

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20account_tag">Link to this property</a>

<details>

<summary>

config\_src?: "local"| "cloudflare"

Indicates if this is a locally or remotely configured tunnel. If <code>local</code>, manage the tunnel using a YAML file on the origin machine. If <code>cloudflare</code>, manage the tunnel on the Zero Trust dashboard.

</summary>

One of the following:

"local"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20config_src%20%3E%20(member)%200">Link to this property</a>

"cloudflare"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20config_src%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20config_src">Link to this property</a>

<details>

<summary>

Deprecatedconnections?: Array&lt;Connection&gt;

This field will start returning an empty array. To fetch the connections of a given tunnel, please use the dedicated endpoint <code>/accounts/{account_id}/{tunnel_type}/{tunnel_id}/connections</code>

The Cloudflare Tunnel connections between your origin and Cloudflare’s edge.

</summary>

id?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

client\_id?: string

UUID of the Cloudflare Tunnel connector.

formatuuid

maxLength36

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_id">Link to this property</a>

client\_version?: string

The cloudflared version used to establish this connection.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_version">Link to this property</a>

colo\_name?: string

The Cloudflare data center used for this connection.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20colo_name">Link to this property</a>

Deprecatedis\_pending\_reconnect?: boolean

This functionality has been removed. The is\_pending\_reconnect field will now always report false.

Cloudflare continues to track connections for several minutes after they disconnect. This is an optimization to improve latency and reliability of reconnecting. If <code>true</code>, the connection has disconnected but is still being tracked. If <code>false</code>, the connection is actively serving traffic.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20is_pending_reconnect">Link to this property</a>

opened\_at?: string

Timestamp of when the connection was established.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20opened_at">Link to this property</a>

origin\_ip?: string

The public IP address of the host running cloudflared.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20origin_ip">Link to this property</a>

uuid?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20uuid">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20connections">Link to this property</a>

conns\_active\_at?: string

Timestamp of when the tunnel established at least one connection to Cloudflare’s edge. If <code>null</code>, the tunnel is inactive.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20conns_active_at">Link to this property</a>

conns\_inactive\_at?: string

Timestamp of when the tunnel became inactive (no connections to Cloudflare’s edge). If <code>null</code>, the tunnel is active.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20conns_inactive_at">Link to this property</a>

created\_at?: string

Timestamp of when the resource was created.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

deleted\_at?: string

Timestamp of when the resource was deleted. If <code>null</code>, the resource has not been deleted.

formatdate-time

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20deleted_at">Link to this property</a>

metadata?: unknown

Metadata associated with the tunnel.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20metadata">Link to this property</a>

name?: string

A user-friendly name for a tunnel.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

Deprecatedremote\_config?: boolean

Use the config\_src field instead.

If <code>true</code>, the tunnel can be configured remotely from the Zero Trust dashboard. If <code>false</code>, the tunnel must be configured locally on the origin machine.

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20remote_config">Link to this property</a>

<details>

<summary>

status?: "inactive"| "degraded"| "healthy"| "down"

The status of the tunnel. Valid values are <code>inactive</code> (tunnel has never been run), <code>degraded</code> (tunnel is active and able to serve traffic but in an unhealthy state), <code>healthy</code> (tunnel is active and able to serve traffic), or <code>down</code> (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).

</summary>

One of the following:

"inactive"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"degraded"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"healthy"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"down"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

tun\_type?: "cfd\_tunnel"| "warp\_connector"| "warp"| 4 more

The type of tunnel.

</summary>

One of the following:

"cfd\_tunnel"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%200">Link to this property</a>

"warp\_connector"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%201">Link to this property</a>

"warp"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%202">Link to this property</a>

"magic"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%203">Link to this property</a>

"ip\_sec"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%204">Link to this property</a>

"gre"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%205">Link to this property</a>

"cni"

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)%20%3E%20(property)%20tun_type">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

TunnelWARPConnectorTunnel {id, account\_tag, connections, 8 more }

A Mesh node that connects your origin to Cloudflare’s edge.

</summary>

id?: string

UUID of the tunnel.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20id">Link to this property</a>

account\_tag?: string

Cloudflare account ID

maxLength32

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20account_tag">Link to this property</a>

<details>

<summary>

Deprecatedconnections?: Array&lt;Connection&gt;

This field will start returning an empty array. To fetch the connections of a given tunnel, please use the dedicated endpoint <code>/accounts/{account_id}/{tunnel_type}/{tunnel_id}/connections</code>

The Cloudflare Tunnel connections between your origin and Cloudflare’s edge.

</summary>

id?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

client\_id?: string

UUID of the Cloudflare Tunnel connector.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_id">Link to this property</a>

client\_version?: string

The cloudflared version used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_version">Link to this property</a>

colo\_name?: string

The Cloudflare data center used for this connection.

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20colo_name">Link to this property</a>

Deprecatedis\_pending\_reconnect?: boolean

This functionality has been removed. The is\_pending\_reconnect field will now always report false.

Cloudflare continues to track connections for several minutes after they disconnect. This is an optimization to improve latency and reliability of reconnecting. If <code>true</code>, the connection has disconnected but is still being tracked. If <code>false</code>, the connection is actively serving traffic.

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20is_pending_reconnect">Link to this property</a>

opened\_at?: string

Timestamp of when the connection was established.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20opened_at">Link to this property</a>

origin\_ip?: string

The public IP address of the host running cloudflared.

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20origin_ip">Link to this property</a>

uuid?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20uuid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20connections">Link to this property</a>

conns\_active\_at?: string

Timestamp of when the tunnel established at least one connection to Cloudflare’s edge. If <code>null</code>, the tunnel is inactive.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20conns_active_at">Link to this property</a>

conns\_inactive\_at?: string

Timestamp of when the tunnel became inactive (no connections to Cloudflare’s edge). If <code>null</code>, the tunnel is active.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20conns_inactive_at">Link to this property</a>

created\_at?: string

Timestamp of when the resource was created.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20created_at">Link to this property</a>

deleted\_at?: string

Timestamp of when the resource was deleted. If <code>null</code>, the resource has not been deleted.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20deleted_at">Link to this property</a>

metadata?: unknown

Metadata associated with the tunnel.

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20metadata">Link to this property</a>

name?: string

A user-friendly name for a tunnel.

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

status?: "inactive"| "degraded"| "healthy"| "down"

The status of the tunnel. Valid values are <code>inactive</code> (tunnel has never been run), <code>degraded</code> (tunnel is active and able to serve traffic but in an unhealthy state), <code>healthy</code> (tunnel is active and able to serve traffic), or <code>down</code> (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).

</summary>

One of the following:

"inactive"

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"degraded"

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"healthy"

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"down"

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

tun\_type?: "cfd\_tunnel"| "warp\_connector"| "warp"| 4 more

The type of tunnel.

</summary>

One of the following:

"cfd\_tunnel"

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20tun_type%20%3E%20(member)%200">Link to this property</a>

"warp\_connector"

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20tun_type%20%3E%20(member)%201">Link to this property</a>

"warp"

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20tun_type%20%3E%20(member)%202">Link to this property</a>

"magic"

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20tun_type%20%3E%20(member)%203">Link to this property</a>

"ip\_sec"

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20tun_type%20%3E%20(member)%204">Link to this property</a>

"gre"

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20tun_type%20%3E%20(member)%205">Link to this property</a>

"cni"

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20tun_type%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20tun_type">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.tunnels%20%3E%20(model)%20tunnel_list_response%20%3E%20(schema)>)

#### TunnelsCloudflared

##### [List Cloudflare Tunnels](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/cloudflared/methods/list)

client.zeroTrust.tunnels.cloudflared.list(CloudflaredListParams {account\_id, exclude\_prefix, existed\_at, 9 more } params, RequestOptionsoptions?): V4PagePaginationArray< [CloudflareTunnel](<https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)>) {id, account\_tag, config\_src, 10 more } >

GET/accounts/{account\_id}/cfd\_tunnel

##### [Get a Cloudflare Tunnel](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/cloudflared/methods/get)

client.zeroTrust.tunnels.cloudflared.get(stringtunnelID, CloudflaredGetParams {account\_id } params, RequestOptionsoptions?): [CloudflareTunnel](<https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)>) {id, account\_tag, config\_src, 10 more }

GET/accounts/{account\_id}/cfd\_tunnel/{tunnel\_id}

##### [Create a Cloudflare Tunnel](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/cloudflared/methods/create)

client.zeroTrust.tunnels.cloudflared.create(CloudflaredCreateParams {account\_id, name, config\_src, tunnel\_secret } params, RequestOptionsoptions?): [CloudflareTunnel](<https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)>) {id, account\_tag, config\_src, 10 more }

POST/accounts/{account\_id}/cfd\_tunnel

##### [Update a Cloudflare Tunnel](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/cloudflared/methods/edit)

client.zeroTrust.tunnels.cloudflared.edit(stringtunnelID, CloudflaredEditParams {account\_id, name, tunnel\_secret } params, RequestOptionsoptions?): [CloudflareTunnel](<https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)>) {id, account\_tag, config\_src, 10 more }

PATCH/accounts/{account\_id}/cfd\_tunnel/{tunnel\_id}

##### [Delete a Cloudflare Tunnel](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/cloudflared/methods/delete)

client.zeroTrust.tunnels.cloudflared.delete(stringtunnelID, CloudflaredDeleteParams {account\_id } params, RequestOptionsoptions?): [CloudflareTunnel](<https://developers.cloudflare.com/api/typescript/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20cloudflare_tunnel%20%3E%20(schema)>) {id, account\_tag, config\_src, 10 more }

DELETE/accounts/{account\_id}/cfd\_tunnel/{tunnel\_id}

#### TunnelsCloudflaredConfigurations

##### [Get Tunnel configuration](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/cloudflared/subresources/configurations/methods/get)

client.zeroTrust.tunnels.cloudflared.configurations.get(stringtunnelID, ConfigurationGetParams {account\_id } params, RequestOptionsoptions?): [ConfigurationGetResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)>) {account\_id, config, created\_at, 3 more }

GET/accounts/{account\_id}/cfd\_tunnel/{tunnel\_id}/configurations

##### [Update Tunnel configuration](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/cloudflared/subresources/configurations/methods/update)

client.zeroTrust.tunnels.cloudflared.configurations.update(stringtunnelID, ConfigurationUpdateParams {account\_id, config } params, RequestOptionsoptions?): [ConfigurationUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)>) {account\_id, config, created\_at, 3 more }

PUT/accounts/{account\_id}/cfd\_tunnel/{tunnel\_id}/configurations

##### ModelsExpand Collapse

<details>

<summary>

ConfigurationGetResponse {account\_id, config, created\_at, 3 more }

Cloudflare Tunnel configuration

</summary>

account\_id?: string

Identifier.

maxLength32

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20account_id">Link to this property</a>

<details>

<summary>

config?: Config {ingress, originRequest }

The tunnel configuration and ingress rules.

</summary>

<details>

<summary>

ingress?: Array&lt;Ingress&gt;

List of public hostname definitions. At least one ingress rule needs to be defined for the tunnel.

</summary>

hostname: string

Public hostname for this service.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20hostname">Link to this property</a>

service: string

Protocol and address of destination server. Supported protocols: http://, https://, unix://, tcp://, ssh://, rdp://, unix+tls://, smb://. Alternatively can return a HTTP status code http\_status:\[code] e.g. ‘http\_status:404’.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20service">Link to this property</a>

<details>

<summary>

originRequest?: OriginRequest {access, caPool, connectTimeout, 12 more }

Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.

</summary>

<details>

<summary>

access?: Access {audTag, teamName, required }

For all L7 requests to this hostname, cloudflared will validate each request’s Cf-Access-Jwt-Assertion request header.

</summary>

audTag: Array&lt;string&gt;

Access applications that are allowed to reach this hostname for this Tunnel. Audience tags can be identified in the dashboard or via the List Access policies API.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20access%20%3E%20(property)%20audTag">Link to this property</a>

teamName: string

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20access%20%3E%20(property)%20teamName">Link to this property</a>

required?: boolean

Deny traffic that has not fulfilled Access authorization.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20access%20%3E%20(property)%20required">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20access">Link to this property</a>

caPool?: string

Path to the certificate authority (CA) for the certificate of your origin. This option should be used only if your certificate is not signed by Cloudflare.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20caPool">Link to this property</a>

connectTimeout?: number

Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20connectTimeout">Link to this property</a>

disableChunkedEncoding?: boolean

Disables chunked transfer encoding. Useful if you are running a WSGI server.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20disableChunkedEncoding">Link to this property</a>

http2Origin?: boolean

Attempt to connect to origin using HTTP2. Origin must be configured as https.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20http2Origin">Link to this property</a>

httpHostHeader?: string

Sets the HTTP Host header on requests sent to the local service.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20httpHostHeader">Link to this property</a>

keepAliveConnections?: number

Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20keepAliveConnections">Link to this property</a>

keepAliveTimeout?: number

Timeout after which an idle keepalive connection can be discarded.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20keepAliveTimeout">Link to this property</a>

matchSNItoHost?: boolean

Auto configure the Hostname on the origin server certificate.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20matchSNItoHost">Link to this property</a>

noHappyEyeballs?: boolean

Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20noHappyEyeballs">Link to this property</a>

noTLSVerify?: boolean

Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20noTLSVerify">Link to this property</a>

originServerName?: string

Hostname that cloudflared should expect from your origin server certificate.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20originServerName">Link to this property</a>

proxyType?: string

cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures what type of proxy will be started. Valid options are: "" for the regular proxy and “socks” for a SOCKS5 proxy.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20proxyType">Link to this property</a>

tcpKeepAlive?: number

The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20tcpKeepAlive">Link to this property</a>

tlsTimeout?: number

Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20tlsTimeout">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest">Link to this property</a>

path?: string

Requests with this path route to this public hostname.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20path">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress">Link to this property</a>

<details>

<summary>

originRequest?: OriginRequest {access, caPool, connectTimeout, 12 more }

Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.

</summary>

<details>

<summary>

access?: Access {audTag, teamName, required }

For all L7 requests to this hostname, cloudflared will validate each request’s Cf-Access-Jwt-Assertion request header.

</summary>

audTag: Array&lt;string&gt;

Access applications that are allowed to reach this hostname for this Tunnel. Audience tags can be identified in the dashboard or via the List Access policies API.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20access%20%3E%20(property)%20audTag">Link to this property</a>

teamName: string

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20access%20%3E%20(property)%20teamName">Link to this property</a>

required?: boolean

Deny traffic that has not fulfilled Access authorization.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20access%20%3E%20(property)%20required">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20access">Link to this property</a>

caPool?: string

Path to the certificate authority (CA) for the certificate of your origin. This option should be used only if your certificate is not signed by Cloudflare.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20caPool">Link to this property</a>

connectTimeout?: number

Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20connectTimeout">Link to this property</a>

disableChunkedEncoding?: boolean

Disables chunked transfer encoding. Useful if you are running a WSGI server.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20disableChunkedEncoding">Link to this property</a>

http2Origin?: boolean

Attempt to connect to origin using HTTP2. Origin must be configured as https.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20http2Origin">Link to this property</a>

httpHostHeader?: string

Sets the HTTP Host header on requests sent to the local service.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20httpHostHeader">Link to this property</a>

keepAliveConnections?: number

Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20keepAliveConnections">Link to this property</a>

keepAliveTimeout?: number

Timeout after which an idle keepalive connection can be discarded.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20keepAliveTimeout">Link to this property</a>

matchSNItoHost?: boolean

Auto configure the Hostname on the origin server certificate.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20matchSNItoHost">Link to this property</a>

noHappyEyeballs?: boolean

Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20noHappyEyeballs">Link to this property</a>

noTLSVerify?: boolean

Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20noTLSVerify">Link to this property</a>

originServerName?: string

Hostname that cloudflared should expect from your origin server certificate.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20originServerName">Link to this property</a>

proxyType?: string

cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures what type of proxy will be started. Valid options are: "" for the regular proxy and “socks” for a SOCKS5 proxy.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20proxyType">Link to this property</a>

tcpKeepAlive?: number

The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20tcpKeepAlive">Link to this property</a>

tlsTimeout?: number

Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20tlsTimeout">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config">Link to this property</a>

created\_at?: string

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

source?: "local"| "cloudflare"

Indicates if this is a locally or remotely configured tunnel. If <code>local</code>, manage the tunnel using a YAML file on the origin machine. If <code>cloudflare</code>, manage the tunnel’s configuration on the Zero Trust dashboard.

</summary>

One of the following:

"local"

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(member)%200">Link to this property</a>

"cloudflare"

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

tunnel\_id?: string

UUID of the tunnel.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnel_id">Link to this property</a>

version?: number

The version of the Tunnel Configuration.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)>)

<details>

<summary>

ConfigurationUpdateResponse {account\_id, config, created\_at, 3 more }

Cloudflare Tunnel configuration

</summary>

account\_id?: string

Identifier.

maxLength32

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20account_id">Link to this property</a>

<details>

<summary>

config?: Config {ingress, originRequest }

The tunnel configuration and ingress rules.

</summary>

<details>

<summary>

ingress?: Array&lt;Ingress&gt;

List of public hostname definitions. At least one ingress rule needs to be defined for the tunnel.

</summary>

hostname: string

Public hostname for this service.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20hostname">Link to this property</a>

service: string

Protocol and address of destination server. Supported protocols: http://, https://, unix://, tcp://, ssh://, rdp://, unix+tls://, smb://. Alternatively can return a HTTP status code http\_status:\[code] e.g. ‘http\_status:404’.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20service">Link to this property</a>

<details>

<summary>

originRequest?: OriginRequest {access, caPool, connectTimeout, 12 more }

Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.

</summary>

<details>

<summary>

access?: Access {audTag, teamName, required }

For all L7 requests to this hostname, cloudflared will validate each request’s Cf-Access-Jwt-Assertion request header.

</summary>

audTag: Array&lt;string&gt;

Access applications that are allowed to reach this hostname for this Tunnel. Audience tags can be identified in the dashboard or via the List Access policies API.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20access%20%3E%20(property)%20audTag">Link to this property</a>

teamName: string

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20access%20%3E%20(property)%20teamName">Link to this property</a>

required?: boolean

Deny traffic that has not fulfilled Access authorization.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20access%20%3E%20(property)%20required">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20access">Link to this property</a>

caPool?: string

Path to the certificate authority (CA) for the certificate of your origin. This option should be used only if your certificate is not signed by Cloudflare.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20caPool">Link to this property</a>

connectTimeout?: number

Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20connectTimeout">Link to this property</a>

disableChunkedEncoding?: boolean

Disables chunked transfer encoding. Useful if you are running a WSGI server.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20disableChunkedEncoding">Link to this property</a>

http2Origin?: boolean

Attempt to connect to origin using HTTP2. Origin must be configured as https.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20http2Origin">Link to this property</a>

httpHostHeader?: string

Sets the HTTP Host header on requests sent to the local service.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20httpHostHeader">Link to this property</a>

keepAliveConnections?: number

Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20keepAliveConnections">Link to this property</a>

keepAliveTimeout?: number

Timeout after which an idle keepalive connection can be discarded.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20keepAliveTimeout">Link to this property</a>

matchSNItoHost?: boolean

Auto configure the Hostname on the origin server certificate.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20matchSNItoHost">Link to this property</a>

noHappyEyeballs?: boolean

Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20noHappyEyeballs">Link to this property</a>

noTLSVerify?: boolean

Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20noTLSVerify">Link to this property</a>

originServerName?: string

Hostname that cloudflared should expect from your origin server certificate.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20originServerName">Link to this property</a>

proxyType?: string

cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures what type of proxy will be started. Valid options are: "" for the regular proxy and “socks” for a SOCKS5 proxy.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20proxyType">Link to this property</a>

tcpKeepAlive?: number

The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20tcpKeepAlive">Link to this property</a>

tlsTimeout?: number

Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest%20%3E%20(property)%20tlsTimeout">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20originRequest">Link to this property</a>

path?: string

Requests with this path route to this public hostname.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress%20%3E%20(items)%20%3E%20(property)%20path">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20ingress">Link to this property</a>

<details>

<summary>

originRequest?: OriginRequest {access, caPool, connectTimeout, 12 more }

Configuration parameters for the public hostname specific connection settings between cloudflared and origin server.

</summary>

<details>

<summary>

access?: Access {audTag, teamName, required }

For all L7 requests to this hostname, cloudflared will validate each request’s Cf-Access-Jwt-Assertion request header.

</summary>

audTag: Array&lt;string&gt;

Access applications that are allowed to reach this hostname for this Tunnel. Audience tags can be identified in the dashboard or via the List Access policies API.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20access%20%3E%20(property)%20audTag">Link to this property</a>

teamName: string

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20access%20%3E%20(property)%20teamName">Link to this property</a>

required?: boolean

Deny traffic that has not fulfilled Access authorization.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20access%20%3E%20(property)%20required">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20access">Link to this property</a>

caPool?: string

Path to the certificate authority (CA) for the certificate of your origin. This option should be used only if your certificate is not signed by Cloudflare.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20caPool">Link to this property</a>

connectTimeout?: number

Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by tlsTimeout.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20connectTimeout">Link to this property</a>

disableChunkedEncoding?: boolean

Disables chunked transfer encoding. Useful if you are running a WSGI server.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20disableChunkedEncoding">Link to this property</a>

http2Origin?: boolean

Attempt to connect to origin using HTTP2. Origin must be configured as https.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20http2Origin">Link to this property</a>

httpHostHeader?: string

Sets the HTTP Host header on requests sent to the local service.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20httpHostHeader">Link to this property</a>

keepAliveConnections?: number

Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20keepAliveConnections">Link to this property</a>

keepAliveTimeout?: number

Timeout after which an idle keepalive connection can be discarded.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20keepAliveTimeout">Link to this property</a>

matchSNItoHost?: boolean

Auto configure the Hostname on the origin server certificate.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20matchSNItoHost">Link to this property</a>

noHappyEyeballs?: boolean

Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20noHappyEyeballs">Link to this property</a>

noTLSVerify?: boolean

Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20noTLSVerify">Link to this property</a>

originServerName?: string

Hostname that cloudflared should expect from your origin server certificate.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20originServerName">Link to this property</a>

proxyType?: string

cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures what type of proxy will be started. Valid options are: "" for the regular proxy and “socks” for a SOCKS5 proxy.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20proxyType">Link to this property</a>

tcpKeepAlive?: number

The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20tcpKeepAlive">Link to this property</a>

tlsTimeout?: number

Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest%20%3E%20(property)%20tlsTimeout">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20originRequest">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config">Link to this property</a>

created\_at?: string

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

source?: "local"| "cloudflare"

Indicates if this is a locally or remotely configured tunnel. If <code>local</code>, manage the tunnel using a YAML file on the origin machine. If <code>cloudflare</code>, manage the tunnel’s configuration on the Zero Trust dashboard.

</summary>

One of the following:

"local"

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(member)%200">Link to this property</a>

"cloudflare"

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

tunnel\_id?: string

UUID of the tunnel.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20tunnel_id">Link to this property</a>

version?: number

The version of the Tunnel Configuration.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.tunnels.cloudflared.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)>)

#### TunnelsCloudflaredConnections

##### [List Cloudflare Tunnel connections](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/cloudflared/subresources/connections/methods/get)

client.zeroTrust.tunnels.cloudflared.connections.get(stringtunnelID, ConnectionGetParams {account\_id } params, RequestOptionsoptions?): SinglePage< [Client](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)>) {id, arch, config\_version, 4 more } >

GET/accounts/{account\_id}/cfd\_tunnel/{tunnel\_id}/connections

##### [Clean up Cloudflare Tunnel connections](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/cloudflared/subresources/connections/methods/delete)

client.zeroTrust.tunnels.cloudflared.connections.delete(stringtunnelID, ConnectionDeleteParams {account\_id, client\_id } params, RequestOptionsoptions?): [ConnectionDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20connection_delete_response%20%3E%20(schema)>)| null

DELETE/accounts/{account\_id}/cfd\_tunnel/{tunnel\_id}/connections

##### ModelsExpand Collapse

<details>

<summary>

Client {id, arch, config\_version, 4 more }

A client (typically cloudflared) that maintains connections to a Cloudflare data center.

</summary>

id?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

arch?: string

The cloudflared OS architecture used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20arch">Link to this property</a>

config\_version?: number

The version of the remote tunnel configuration. Used internally to sync cloudflared with the Zero Trust dashboard.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20config_version">Link to this property</a>

<details>

<summary>

conns?: Array&lt;Conn&gt;

The Cloudflare Tunnel connections between your origin and Cloudflare’s edge.

</summary>

id?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

client\_id?: string

UUID of the Cloudflare Tunnel connector.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20client_id">Link to this property</a>

client\_version?: string

The cloudflared version used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20client_version">Link to this property</a>

colo\_name?: string

The Cloudflare data center used for this connection.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20colo_name">Link to this property</a>

Deprecatedis\_pending\_reconnect?: boolean

This functionality has been removed. The is\_pending\_reconnect field will now always report false.

Cloudflare continues to track connections for several minutes after they disconnect. This is an optimization to improve latency and reliability of reconnecting. If <code>true</code>, the connection has disconnected but is still being tracked. If <code>false</code>, the connection is actively serving traffic.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20is_pending_reconnect">Link to this property</a>

opened\_at?: string

Timestamp of when the connection was established.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20opened_at">Link to this property</a>

origin\_ip?: string

The public IP address of the host running cloudflared.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20origin_ip">Link to this property</a>

uuid?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20uuid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20conns">Link to this property</a>

features?: Array&lt;string&gt;

Features enabled for the Cloudflare Tunnel.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20features">Link to this property</a>

run\_at?: string

Timestamp of when the tunnel connection was started.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20run_at">Link to this property</a>

version?: string

The cloudflared version used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)>)

ConnectionDeleteResponse = unknown

[Link to this property](<#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20connection_delete_response%20%3E%20(schema)>)

#### TunnelsCloudflaredToken

##### [Get a Cloudflare Tunnel token](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/cloudflared/subresources/token/methods/get)

client.zeroTrust.tunnels.cloudflared.token.get(stringtunnelID, TokenGetParams {account\_id } params, RequestOptionsoptions?): [TokenGetResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.cloudflared.token%20%3E%20(model)%20token_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/cfd\_tunnel/{tunnel\_id}/token

##### ModelsExpand Collapse

TokenGetResponse = string

The Tunnel Token is used as a mechanism to authenticate the operation of a tunnel.

[Link to this property](<#(resource)%20zero_trust.tunnels.cloudflared.token%20%3E%20(model)%20token_get_response%20%3E%20(schema)>)

#### TunnelsCloudflaredConnectors

##### [Get Cloudflare Tunnel connector](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/cloudflared/subresources/connectors/methods/get)

client.zeroTrust.tunnels.cloudflared.connectors.get(stringconnectorID, ConnectorGetParams {account\_id, tunnel\_id } params, RequestOptionsoptions?): [Client](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.cloudflared.connections%20%3E%20(model)%20client%20%3E%20(schema)>) {id, arch, config\_version, 4 more }

GET/accounts/{account\_id}/cfd\_tunnel/{tunnel\_id}/connectors/{connector\_id}

#### TunnelsCloudflaredManagement

##### [Get a Cloudflare Tunnel management token](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/cloudflared/subresources/management/methods/create)

client.zeroTrust.tunnels.cloudflared.management.create(stringtunnelID, ManagementCreateParams {account\_id, resources } params, RequestOptionsoptions?): [ManagementCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.cloudflared.management%20%3E%20(model)%20management_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/cfd\_tunnel/{tunnel\_id}/management

##### ModelsExpand Collapse

ManagementCreateResponse = string

The Tunnel Token is used as a mechanism to authenticate the operation of a tunnel.

[Link to this property](<#(resource)%20zero_trust.tunnels.cloudflared.management%20%3E%20(model)%20management_create_response%20%3E%20(schema)>)

#### TunnelsWARP Connector

##### [List Mesh nodes](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/warp_connector/methods/list)

client.zeroTrust.tunnels.warpConnector.list(WARPConnectorListParams {account\_id, exclude\_prefix, existed\_at, 9 more } params, RequestOptionsoptions?): V4PagePaginationArray< [WARPConnectorListResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)>) {id, account\_tag, connections, 8 more } >

GET/accounts/{account\_id}/warp\_connector

##### [Get a Mesh node](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/warp_connector/methods/get)

client.zeroTrust.tunnels.warpConnector.get(stringtunnelID, WARPConnectorGetParams {account\_id } params, RequestOptionsoptions?): [WARPConnectorGetResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)>) {id, account\_tag, connections, 8 more }

GET/accounts/{account\_id}/warp\_connector/{tunnel\_id}

##### [Create a Mesh node](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/warp_connector/methods/create)

client.zeroTrust.tunnels.warpConnector.create(WARPConnectorCreateParams {account\_id, name, ha } params, RequestOptionsoptions?): [WARPConnectorCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)>) {id, account\_tag, connections, 8 more }

POST/accounts/{account\_id}/warp\_connector

##### [Update a Mesh node](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/warp_connector/methods/edit)

client.zeroTrust.tunnels.warpConnector.edit(stringtunnelID, WARPConnectorEditParams {account\_id, name, tunnel\_secret } params, RequestOptionsoptions?): [WARPConnectorEditResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)>) {id, account\_tag, connections, 8 more }

PATCH/accounts/{account\_id}/warp\_connector/{tunnel\_id}

##### [Delete a Mesh node](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/warp_connector/methods/delete)

client.zeroTrust.tunnels.warpConnector.delete(stringtunnelID, WARPConnectorDeleteParams {account\_id } params, RequestOptionsoptions?): [WARPConnectorDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)>) {id, account\_tag, connections, 8 more }

DELETE/accounts/{account\_id}/warp\_connector/{tunnel\_id}

##### ModelsExpand Collapse

<details>

<summary>

WARPConnectorListResponse {id, account\_tag, connections, 8 more }

A Mesh node that connects your origin to Cloudflare’s edge.

</summary>

id?: string

UUID of the tunnel.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account\_tag?: string

Cloudflare account ID

maxLength32

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20account_tag">Link to this property</a>

<details>

<summary>

Deprecatedconnections?: Array&lt;Connection&gt;

This field will start returning an empty array. To fetch the connections of a given tunnel, please use the dedicated endpoint <code>/accounts/{account_id}/{tunnel_type}/{tunnel_id}/connections</code>

The Cloudflare Tunnel connections between your origin and Cloudflare’s edge.

</summary>

id?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

client\_id?: string

UUID of the Cloudflare Tunnel connector.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_id">Link to this property</a>

client\_version?: string

The cloudflared version used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_version">Link to this property</a>

colo\_name?: string

The Cloudflare data center used for this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20colo_name">Link to this property</a>

Deprecatedis\_pending\_reconnect?: boolean

This functionality has been removed. The is\_pending\_reconnect field will now always report false.

Cloudflare continues to track connections for several minutes after they disconnect. This is an optimization to improve latency and reliability of reconnecting. If <code>true</code>, the connection has disconnected but is still being tracked. If <code>false</code>, the connection is actively serving traffic.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20is_pending_reconnect">Link to this property</a>

opened\_at?: string

Timestamp of when the connection was established.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20opened_at">Link to this property</a>

origin\_ip?: string

The public IP address of the host running cloudflared.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20origin_ip">Link to this property</a>

uuid?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20uuid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20connections">Link to this property</a>

conns\_active\_at?: string

Timestamp of when the tunnel established at least one connection to Cloudflare’s edge. If <code>null</code>, the tunnel is inactive.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20conns_active_at">Link to this property</a>

conns\_inactive\_at?: string

Timestamp of when the tunnel became inactive (no connections to Cloudflare’s edge). If <code>null</code>, the tunnel is active.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20conns_inactive_at">Link to this property</a>

created\_at?: string

Timestamp of when the resource was created.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

deleted\_at?: string

Timestamp of when the resource was deleted. If <code>null</code>, the resource has not been deleted.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20deleted_at">Link to this property</a>

metadata?: unknown

Metadata associated with the tunnel.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20metadata">Link to this property</a>

name?: string

A user-friendly name for a tunnel.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

status?: "inactive"| "degraded"| "healthy"| "down"

The status of the tunnel. Valid values are <code>inactive</code> (tunnel has never been run), <code>degraded</code> (tunnel is active and able to serve traffic but in an unhealthy state), <code>healthy</code> (tunnel is active and able to serve traffic), or <code>down</code> (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).

</summary>

One of the following:

"inactive"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"degraded"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"healthy"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"down"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

tun\_type?: "cfd\_tunnel"| "warp\_connector"| "warp"| 4 more

The type of tunnel.

</summary>

One of the following:

"cfd\_tunnel"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%200">Link to this property</a>

"warp\_connector"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%201">Link to this property</a>

"warp"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%202">Link to this property</a>

"magic"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%203">Link to this property</a>

"ip\_sec"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%204">Link to this property</a>

"gre"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%205">Link to this property</a>

"cni"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)%20%3E%20(property)%20tun_type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_list_response%20%3E%20(schema)>)

<details>

<summary>

WARPConnectorGetResponse {id, account\_tag, connections, 8 more }

A Mesh node that connects your origin to Cloudflare’s edge.

</summary>

id?: string

UUID of the tunnel.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account\_tag?: string

Cloudflare account ID

maxLength32

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20account_tag">Link to this property</a>

<details>

<summary>

Deprecatedconnections?: Array&lt;Connection&gt;

This field will start returning an empty array. To fetch the connections of a given tunnel, please use the dedicated endpoint <code>/accounts/{account_id}/{tunnel_type}/{tunnel_id}/connections</code>

The Cloudflare Tunnel connections between your origin and Cloudflare’s edge.

</summary>

id?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

client\_id?: string

UUID of the Cloudflare Tunnel connector.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_id">Link to this property</a>

client\_version?: string

The cloudflared version used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_version">Link to this property</a>

colo\_name?: string

The Cloudflare data center used for this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20colo_name">Link to this property</a>

Deprecatedis\_pending\_reconnect?: boolean

This functionality has been removed. The is\_pending\_reconnect field will now always report false.

Cloudflare continues to track connections for several minutes after they disconnect. This is an optimization to improve latency and reliability of reconnecting. If <code>true</code>, the connection has disconnected but is still being tracked. If <code>false</code>, the connection is actively serving traffic.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20is_pending_reconnect">Link to this property</a>

opened\_at?: string

Timestamp of when the connection was established.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20opened_at">Link to this property</a>

origin\_ip?: string

The public IP address of the host running cloudflared.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20origin_ip">Link to this property</a>

uuid?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20uuid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20connections">Link to this property</a>

conns\_active\_at?: string

Timestamp of when the tunnel established at least one connection to Cloudflare’s edge. If <code>null</code>, the tunnel is inactive.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20conns_active_at">Link to this property</a>

conns\_inactive\_at?: string

Timestamp of when the tunnel became inactive (no connections to Cloudflare’s edge). If <code>null</code>, the tunnel is active.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20conns_inactive_at">Link to this property</a>

created\_at?: string

Timestamp of when the resource was created.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

deleted\_at?: string

Timestamp of when the resource was deleted. If <code>null</code>, the resource has not been deleted.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20deleted_at">Link to this property</a>

metadata?: unknown

Metadata associated with the tunnel.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20metadata">Link to this property</a>

name?: string

A user-friendly name for a tunnel.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

status?: "inactive"| "degraded"| "healthy"| "down"

The status of the tunnel. Valid values are <code>inactive</code> (tunnel has never been run), <code>degraded</code> (tunnel is active and able to serve traffic but in an unhealthy state), <code>healthy</code> (tunnel is active and able to serve traffic), or <code>down</code> (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).

</summary>

One of the following:

"inactive"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"degraded"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"healthy"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"down"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

tun\_type?: "cfd\_tunnel"| "warp\_connector"| "warp"| 4 more

The type of tunnel.

</summary>

One of the following:

"cfd\_tunnel"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%200">Link to this property</a>

"warp\_connector"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%201">Link to this property</a>

"warp"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%202">Link to this property</a>

"magic"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%203">Link to this property</a>

"ip\_sec"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%204">Link to this property</a>

"gre"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%205">Link to this property</a>

"cni"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)%20%3E%20(property)%20tun_type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_get_response%20%3E%20(schema)>)

<details>

<summary>

WARPConnectorCreateResponse {id, account\_tag, connections, 8 more }

A Mesh node that connects your origin to Cloudflare’s edge.

</summary>

id?: string

UUID of the tunnel.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account\_tag?: string

Cloudflare account ID

maxLength32

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20account_tag">Link to this property</a>

<details>

<summary>

Deprecatedconnections?: Array&lt;Connection&gt;

This field will start returning an empty array. To fetch the connections of a given tunnel, please use the dedicated endpoint <code>/accounts/{account_id}/{tunnel_type}/{tunnel_id}/connections</code>

The Cloudflare Tunnel connections between your origin and Cloudflare’s edge.

</summary>

id?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

client\_id?: string

UUID of the Cloudflare Tunnel connector.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_id">Link to this property</a>

client\_version?: string

The cloudflared version used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_version">Link to this property</a>

colo\_name?: string

The Cloudflare data center used for this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20colo_name">Link to this property</a>

Deprecatedis\_pending\_reconnect?: boolean

This functionality has been removed. The is\_pending\_reconnect field will now always report false.

Cloudflare continues to track connections for several minutes after they disconnect. This is an optimization to improve latency and reliability of reconnecting. If <code>true</code>, the connection has disconnected but is still being tracked. If <code>false</code>, the connection is actively serving traffic.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20is_pending_reconnect">Link to this property</a>

opened\_at?: string

Timestamp of when the connection was established.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20opened_at">Link to this property</a>

origin\_ip?: string

The public IP address of the host running cloudflared.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20origin_ip">Link to this property</a>

uuid?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20uuid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20connections">Link to this property</a>

conns\_active\_at?: string

Timestamp of when the tunnel established at least one connection to Cloudflare’s edge. If <code>null</code>, the tunnel is inactive.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20conns_active_at">Link to this property</a>

conns\_inactive\_at?: string

Timestamp of when the tunnel became inactive (no connections to Cloudflare’s edge). If <code>null</code>, the tunnel is active.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20conns_inactive_at">Link to this property</a>

created\_at?: string

Timestamp of when the resource was created.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

deleted\_at?: string

Timestamp of when the resource was deleted. If <code>null</code>, the resource has not been deleted.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20deleted_at">Link to this property</a>

metadata?: unknown

Metadata associated with the tunnel.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20metadata">Link to this property</a>

name?: string

A user-friendly name for a tunnel.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

status?: "inactive"| "degraded"| "healthy"| "down"

The status of the tunnel. Valid values are <code>inactive</code> (tunnel has never been run), <code>degraded</code> (tunnel is active and able to serve traffic but in an unhealthy state), <code>healthy</code> (tunnel is active and able to serve traffic), or <code>down</code> (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).

</summary>

One of the following:

"inactive"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"degraded"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"healthy"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"down"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

tun\_type?: "cfd\_tunnel"| "warp\_connector"| "warp"| 4 more

The type of tunnel.

</summary>

One of the following:

"cfd\_tunnel"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%200">Link to this property</a>

"warp\_connector"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%201">Link to this property</a>

"warp"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%202">Link to this property</a>

"magic"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%203">Link to this property</a>

"ip\_sec"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%204">Link to this property</a>

"gre"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%205">Link to this property</a>

"cni"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)%20%3E%20(property)%20tun_type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_create_response%20%3E%20(schema)>)

<details>

<summary>

WARPConnectorEditResponse {id, account\_tag, connections, 8 more }

A Mesh node that connects your origin to Cloudflare’s edge.

</summary>

id?: string

UUID of the tunnel.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account\_tag?: string

Cloudflare account ID

maxLength32

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20account_tag">Link to this property</a>

<details>

<summary>

Deprecatedconnections?: Array&lt;Connection&gt;

This field will start returning an empty array. To fetch the connections of a given tunnel, please use the dedicated endpoint <code>/accounts/{account_id}/{tunnel_type}/{tunnel_id}/connections</code>

The Cloudflare Tunnel connections between your origin and Cloudflare’s edge.

</summary>

id?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

client\_id?: string

UUID of the Cloudflare Tunnel connector.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_id">Link to this property</a>

client\_version?: string

The cloudflared version used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_version">Link to this property</a>

colo\_name?: string

The Cloudflare data center used for this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20colo_name">Link to this property</a>

Deprecatedis\_pending\_reconnect?: boolean

This functionality has been removed. The is\_pending\_reconnect field will now always report false.

Cloudflare continues to track connections for several minutes after they disconnect. This is an optimization to improve latency and reliability of reconnecting. If <code>true</code>, the connection has disconnected but is still being tracked. If <code>false</code>, the connection is actively serving traffic.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20is_pending_reconnect">Link to this property</a>

opened\_at?: string

Timestamp of when the connection was established.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20opened_at">Link to this property</a>

origin\_ip?: string

The public IP address of the host running cloudflared.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20origin_ip">Link to this property</a>

uuid?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20uuid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20connections">Link to this property</a>

conns\_active\_at?: string

Timestamp of when the tunnel established at least one connection to Cloudflare’s edge. If <code>null</code>, the tunnel is inactive.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20conns_active_at">Link to this property</a>

conns\_inactive\_at?: string

Timestamp of when the tunnel became inactive (no connections to Cloudflare’s edge). If <code>null</code>, the tunnel is active.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20conns_inactive_at">Link to this property</a>

created\_at?: string

Timestamp of when the resource was created.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

deleted\_at?: string

Timestamp of when the resource was deleted. If <code>null</code>, the resource has not been deleted.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20deleted_at">Link to this property</a>

metadata?: unknown

Metadata associated with the tunnel.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20metadata">Link to this property</a>

name?: string

A user-friendly name for a tunnel.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

status?: "inactive"| "degraded"| "healthy"| "down"

The status of the tunnel. Valid values are <code>inactive</code> (tunnel has never been run), <code>degraded</code> (tunnel is active and able to serve traffic but in an unhealthy state), <code>healthy</code> (tunnel is active and able to serve traffic), or <code>down</code> (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).

</summary>

One of the following:

"inactive"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"degraded"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"healthy"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"down"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

tun\_type?: "cfd\_tunnel"| "warp\_connector"| "warp"| 4 more

The type of tunnel.

</summary>

One of the following:

"cfd\_tunnel"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%200">Link to this property</a>

"warp\_connector"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%201">Link to this property</a>

"warp"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%202">Link to this property</a>

"magic"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%203">Link to this property</a>

"ip\_sec"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%204">Link to this property</a>

"gre"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%205">Link to this property</a>

"cni"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)%20%3E%20(property)%20tun_type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_edit_response%20%3E%20(schema)>)

<details>

<summary>

WARPConnectorDeleteResponse {id, account\_tag, connections, 8 more }

A Mesh node that connects your origin to Cloudflare’s edge.

</summary>

id?: string

UUID of the tunnel.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

account\_tag?: string

Cloudflare account ID

maxLength32

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20account_tag">Link to this property</a>

<details>

<summary>

Deprecatedconnections?: Array&lt;Connection&gt;

This field will start returning an empty array. To fetch the connections of a given tunnel, please use the dedicated endpoint <code>/accounts/{account_id}/{tunnel_type}/{tunnel_id}/connections</code>

The Cloudflare Tunnel connections between your origin and Cloudflare’s edge.

</summary>

id?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

client\_id?: string

UUID of the Cloudflare Tunnel connector.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_id">Link to this property</a>

client\_version?: string

The cloudflared version used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20client_version">Link to this property</a>

colo\_name?: string

The Cloudflare data center used for this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20colo_name">Link to this property</a>

Deprecatedis\_pending\_reconnect?: boolean

This functionality has been removed. The is\_pending\_reconnect field will now always report false.

Cloudflare continues to track connections for several minutes after they disconnect. This is an optimization to improve latency and reliability of reconnecting. If <code>true</code>, the connection has disconnected but is still being tracked. If <code>false</code>, the connection is actively serving traffic.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20is_pending_reconnect">Link to this property</a>

opened\_at?: string

Timestamp of when the connection was established.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20opened_at">Link to this property</a>

origin\_ip?: string

The public IP address of the host running cloudflared.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20origin_ip">Link to this property</a>

uuid?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20connections%20%3E%20(items)%20%3E%20(property)%20uuid">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20connections">Link to this property</a>

conns\_active\_at?: string

Timestamp of when the tunnel established at least one connection to Cloudflare’s edge. If <code>null</code>, the tunnel is inactive.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20conns_active_at">Link to this property</a>

conns\_inactive\_at?: string

Timestamp of when the tunnel became inactive (no connections to Cloudflare’s edge). If <code>null</code>, the tunnel is active.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20conns_inactive_at">Link to this property</a>

created\_at?: string

Timestamp of when the resource was created.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

deleted\_at?: string

Timestamp of when the resource was deleted. If <code>null</code>, the resource has not been deleted.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20deleted_at">Link to this property</a>

metadata?: unknown

Metadata associated with the tunnel.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20metadata">Link to this property</a>

name?: string

A user-friendly name for a tunnel.

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

status?: "inactive"| "degraded"| "healthy"| "down"

The status of the tunnel. Valid values are <code>inactive</code> (tunnel has never been run), <code>degraded</code> (tunnel is active and able to serve traffic but in an unhealthy state), <code>healthy</code> (tunnel is active and able to serve traffic), or <code>down</code> (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).

</summary>

One of the following:

"inactive"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"degraded"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"healthy"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"down"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

tun\_type?: "cfd\_tunnel"| "warp\_connector"| "warp"| 4 more

The type of tunnel.

</summary>

One of the following:

"cfd\_tunnel"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%200">Link to this property</a>

"warp\_connector"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%201">Link to this property</a>

"warp"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%202">Link to this property</a>

"magic"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%203">Link to this property</a>

"ip\_sec"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%204">Link to this property</a>

"gre"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%205">Link to this property</a>

"cni"

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20tun_type%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)%20%3E%20(property)%20tun_type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.tunnels.warp_connector%20%3E%20(model)%20warp_connector_delete_response%20%3E%20(schema)>)

#### TunnelsWARP ConnectorToken

##### [Get a Mesh node token](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/warp_connector/subresources/token/methods/get)

client.zeroTrust.tunnels.warpConnector.token.get(stringtunnelID, TokenGetParams {account\_id } params, RequestOptionsoptions?): [TokenGetResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.warp_connector.token%20%3E%20(model)%20token_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/warp\_connector/{tunnel\_id}/token

##### ModelsExpand Collapse

TokenGetResponse = string

The Tunnel Token is used as a mechanism to authenticate the operation of a tunnel.

[Link to this property](<#(resource)%20zero_trust.tunnels.warp_connector.token%20%3E%20(model)%20token_get_response%20%3E%20(schema)>)

#### TunnelsWARP ConnectorConnections

##### [List Mesh node connections](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/warp_connector/subresources/connections/methods/get)

client.zeroTrust.tunnels.warpConnector.connections.get(stringtunnelID, ConnectionGetParams {account\_id } params, RequestOptionsoptions?): SinglePage< [ConnectionGetResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)>) {id, arch, conns, 4 more } >

GET/accounts/{account\_id}/warp\_connector/{tunnel\_id}/connections

##### ModelsExpand Collapse

<details>

<summary>

ConnectionGetResponse {id, arch, conns, 4 more }

A Mesh node connector that maintains a connection to a Cloudflare data center.

</summary>

id?: string

UUID of the Cloudflare Tunnel connector.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

arch?: string

The cloudflared OS architecture used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20arch">Link to this property</a>

<details>

<summary>

conns?: Array&lt;Conn&gt;

The Mesh node connections between your origin and Cloudflare’s edge.

</summary>

id?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

client\_id?: string

UUID of the Cloudflare Tunnel connector.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20client_id">Link to this property</a>

client\_version?: string

The cloudflared version used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20client_version">Link to this property</a>

colo\_name?: string

The Cloudflare data center used for this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20colo_name">Link to this property</a>

opened\_at?: string

Timestamp of when the connection was established.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20opened_at">Link to this property</a>

origin\_ip?: string

The public IP address of the host running the Mesh node connector.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20origin_ip">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20conns">Link to this property</a>

features?: Array&lt;string&gt;

Features enabled for the Cloudflare Tunnel.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20features">Link to this property</a>

<details>

<summary>

ha\_status?: "offline"| "passive"| "active"

The HA status of a Mesh node connector.

</summary>

One of the following:

"offline"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20ha_status%20%3E%20(member)%200">Link to this property</a>

"passive"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20ha_status%20%3E%20(member)%201">Link to this property</a>

"active"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20ha_status%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20ha_status">Link to this property</a>

run\_at?: string

Timestamp of when the tunnel connection was started.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20run_at">Link to this property</a>

version?: string

The cloudflared version used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.tunnels.warp_connector.connections%20%3E%20(model)%20connection_get_response%20%3E%20(schema)>)

#### TunnelsWARP ConnectorConnectors

##### [Get a Mesh node connector](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/warp_connector/subresources/connectors/methods/get)

client.zeroTrust.tunnels.warpConnector.connectors.get(stringconnectorID, ConnectorGetParams {account\_id, tunnel\_id } params, RequestOptionsoptions?): [ConnectorGetResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)>) {id, arch, conns, 4 more }

GET/accounts/{account\_id}/warp\_connector/{tunnel\_id}/connectors/{connector\_id}

##### ModelsExpand Collapse

<details>

<summary>

ConnectorGetResponse {id, arch, conns, 4 more }

A Mesh node connector that maintains a connection to a Cloudflare data center.

</summary>

id?: string

UUID of the Cloudflare Tunnel connector.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

arch?: string

The cloudflared OS architecture used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20arch">Link to this property</a>

<details>

<summary>

conns?: Array&lt;Conn&gt;

The Mesh node connections between your origin and Cloudflare’s edge.

</summary>

id?: string

UUID of the Cloudflare Tunnel connection.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

client\_id?: string

UUID of the Cloudflare Tunnel connector.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20client_id">Link to this property</a>

client\_version?: string

The cloudflared version used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20client_version">Link to this property</a>

colo\_name?: string

The Cloudflare data center used for this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20colo_name">Link to this property</a>

opened\_at?: string

Timestamp of when the connection was established.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20opened_at">Link to this property</a>

origin\_ip?: string

The public IP address of the host running the Mesh node connector.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20conns%20%3E%20(items)%20%3E%20(property)%20origin_ip">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20conns">Link to this property</a>

features?: Array&lt;string&gt;

Features enabled for the Cloudflare Tunnel.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20features">Link to this property</a>

<details>

<summary>

ha\_status?: "offline"| "passive"| "active"

The HA status of a Mesh node connector.

</summary>

One of the following:

"offline"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20ha_status%20%3E%20(member)%200">Link to this property</a>

"passive"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20ha_status%20%3E%20(member)%201">Link to this property</a>

"active"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20ha_status%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20ha_status">Link to this property</a>

run\_at?: string

Timestamp of when the tunnel connection was started.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20run_at">Link to this property</a>

version?: string

The cloudflared version used to establish this connection.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.tunnels.warp_connector.connectors%20%3E%20(model)%20connector_get_response%20%3E%20(schema)>)

#### TunnelsWARP ConnectorFailover

##### [Trigger a manual failover for a Mesh node](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/warp_connector/subresources/failover/methods/update)

client.zeroTrust.tunnels.warpConnector.failover.update(stringtunnelID, FailoverUpdateParams {account\_id, client\_id } params, RequestOptionsoptions?): [FailoverUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.warp_connector.failover%20%3E%20(model)%20failover_update_response%20%3E%20(schema)>)| null

PUT/accounts/{account\_id}/warp\_connector/{tunnel\_id}/failover

##### ModelsExpand Collapse

FailoverUpdateResponse = unknown

[Link to this property](<#(resource)%20zero_trust.tunnels.warp_connector.failover%20%3E%20(model)%20failover_update_response%20%3E%20(schema)>)

#### TunnelsWARP ConnectorConfigurations

##### [Get Mesh node HA configuration](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/warp_connector/subresources/configurations/methods/get)

client.zeroTrust.tunnels.warpConnector.configurations.get(stringtunnelID, ConfigurationGetParams {account\_id } params, RequestOptionsoptions?): [ConfigurationGetResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)>) {configuration\_version, created\_at, ha\_mode, 3 more }

GET/accounts/{account\_id}/warp\_connector/{tunnel\_id}/configurations

##### [Update Mesh node HA configuration](https://developers.cloudflare.com/api/typescript/resources/zero_trust/subresources/tunnels/subresources/warp_connector/subresources/configurations/methods/update)

client.zeroTrust.tunnels.warpConnector.configurations.update(stringtunnelID, ConfigurationUpdateParams {account\_id, ha\_mode, config } params, RequestOptionsoptions?): [ConfigurationUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/zero_trust#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)>) {configuration\_version, created\_at, ha\_mode, 3 more }

PUT/accounts/{account\_id}/warp\_connector/{tunnel\_id}/configurations

##### ModelsExpand Collapse

<details>

<summary>

ConfigurationGetResponse {configuration\_version, created\_at, ha\_mode, 3 more }

</summary>

configuration\_version: number

Monotonically increasing configuration version, incremented on each PUT.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20configuration_version">Link to this property</a>

created\_at: string

Timestamp of when the resource was created.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

ha\_mode: "none"| "disabled"| "aws"| "local"

High-availability mode for the Mesh node. <code>none</code> means HA is enabled but no provider is configured yet (newly created nodes default to this). <code>disabled</code> means HA is explicitly turned off. <code>aws</code> uses AWS ENI move for failover. <code>local</code> uses virtual IPs (VIPs) on the local interface.

</summary>

One of the following:

"none"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20ha_mode%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20ha_mode%20%3E%20(member)%201">Link to this property</a>

"aws"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20ha_mode%20%3E%20(member)%202">Link to this property</a>

"local"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20ha_mode%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20ha_mode">Link to this property</a>

tunnel\_id: string

UUID of the tunnel.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20tunnel_id">Link to this property</a>

<details>

<summary>

config?: TunnelMeshAwsConfig {fnr\_id } | TunnelMeshLocalConfig {vips, vips\_previous } | null

Provider-specific configuration. Present for <code>aws</code> and <code>local</code> modes.

</summary>

One of the following:

<details>

<summary>

TunnelMeshAwsConfig {fnr\_id }

</summary>

fnr\_id: string

Floating Network Resource ID — the secondary ENI that is moved between nodes on failover.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%200%20%3E%20(property)%20fnr_id">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

TunnelMeshLocalConfig {vips, vips\_previous }

</summary>

<details>

<summary>

vips: Array&lt;Vip&gt;

VIPs to assign on the CloudflareWARP interface.

</summary>

address: string

Virtual IP address (IPv4 or IPv6).

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%201%20%3E%20(property)%20vips%20%3E%20(items)%20%3E%20(property)%20address">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%201%20%3E%20(property)%20vips">Link to this property</a>

<details>

<summary>

vips\_previous?: Array&lt;VipsPrevious&gt;

VIPs to clean up on demotion or version drift.

</summary>

address: string

Virtual IP address (IPv4 or IPv6).

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%201%20%3E%20(property)%20vips_previous%20%3E%20(items)%20%3E%20(property)%20address">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%201%20%3E%20(property)%20vips_previous">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20config">Link to this property</a>

updated\_at?: string| null

Timestamp of the last update. Null if never updated.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_get_response%20%3E%20(schema)>)

<details>

<summary>

ConfigurationUpdateResponse {configuration\_version, created\_at, ha\_mode, 3 more }

</summary>

configuration\_version: number

Monotonically increasing configuration version, incremented on each PUT.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20configuration_version">Link to this property</a>

created\_at: string

Timestamp of when the resource was created.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

ha\_mode: "none"| "disabled"| "aws"| "local"

High-availability mode for the Mesh node. <code>none</code> means HA is enabled but no provider is configured yet (newly created nodes default to this). <code>disabled</code> means HA is explicitly turned off. <code>aws</code> uses AWS ENI move for failover. <code>local</code> uses virtual IPs (VIPs) on the local interface.

</summary>

One of the following:

"none"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20ha_mode%20%3E%20(member)%200">Link to this property</a>

"disabled"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20ha_mode%20%3E%20(member)%201">Link to this property</a>

"aws"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20ha_mode%20%3E%20(member)%202">Link to this property</a>

"local"

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20ha_mode%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20ha_mode">Link to this property</a>

tunnel\_id: string

UUID of the tunnel.

formatuuid

maxLength36

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20tunnel_id">Link to this property</a>

<details>

<summary>

config?: TunnelMeshAwsConfig {fnr\_id } | TunnelMeshLocalConfig {vips, vips\_previous } | null

Provider-specific configuration. Present for <code>aws</code> and <code>local</code> modes.

</summary>

One of the following:

<details>

<summary>

TunnelMeshAwsConfig {fnr\_id }

</summary>

fnr\_id: string

Floating Network Resource ID — the secondary ENI that is moved between nodes on failover.

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%200%20%3E%20(property)%20fnr_id">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

TunnelMeshLocalConfig {vips, vips\_previous }

</summary>

<details>

<summary>

vips: Array&lt;Vip&gt;

VIPs to assign on the CloudflareWARP interface.

</summary>

address: string

Virtual IP address (IPv4 or IPv6).

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%201%20%3E%20(property)%20vips%20%3E%20(items)%20%3E%20(property)%20address">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%201%20%3E%20(property)%20vips">Link to this property</a>

<details>

<summary>

vips\_previous?: Array&lt;VipsPrevious&gt;

VIPs to clean up on demotion or version drift.

</summary>

address: string

Virtual IP address (IPv4 or IPv6).

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%201%20%3E%20(property)%20vips_previous%20%3E%20(items)%20%3E%20(property)%20address">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%201%20%3E%20(property)%20vips_previous">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20config">Link to this property</a>

updated\_at?: string| null

Timestamp of the last update. Null if never updated.

formatdate-time

<a href="#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.tunnels.warp_connector.configurations%20%3E%20(model)%20configuration_update_response%20%3E%20(schema)>)