---
title: Sites
---

[Skip to content](#%5Ftop) 

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

[Magic Transit](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Sites

##### [List Sites](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/methods/list)

client.magicTransit.sites.list(SiteListParams { account\_id, connectorid } params, RequestOptionsoptions?): SinglePage<[Site](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites%20%3E%20%28model%29%20site%20%3E%20%28schema%29) { id, connector\_id, description, 4 more } \>

GET/accounts/{account\_id}/magic/sites

##### [Site Details](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/methods/get)

client.magicTransit.sites.get(stringsiteID, SiteGetParams { account\_id, xMagicNewHcTarget } params, RequestOptionsoptions?): [Site](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites%20%3E%20%28model%29%20site%20%3E%20%28schema%29) { id, connector\_id, description, 4 more } 

GET/accounts/{account\_id}/magic/sites/{site\_id}

##### [Create a new Site](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/methods/create)

client.magicTransit.sites.create(SiteCreateParams { account\_id, name, connector\_id, 4 more } params, RequestOptionsoptions?): [Site](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites%20%3E%20%28model%29%20site%20%3E%20%28schema%29) { id, connector\_id, description, 4 more } 

POST/accounts/{account\_id}/magic/sites

##### [Update Site](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/methods/update)

client.magicTransit.sites.update(stringsiteID, SiteUpdateParams { account\_id, connector\_id, description, 3 more } params, RequestOptionsoptions?): [Site](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites%20%3E%20%28model%29%20site%20%3E%20%28schema%29) { id, connector\_id, description, 4 more } 

PUT/accounts/{account\_id}/magic/sites/{site\_id}

##### [Patch Site](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/methods/edit)

client.magicTransit.sites.edit(stringsiteID, SiteEditParams { account\_id, connector\_id, description, 3 more } params, RequestOptionsoptions?): [Site](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites%20%3E%20%28model%29%20site%20%3E%20%28schema%29) { id, connector\_id, description, 4 more } 

PATCH/accounts/{account\_id}/magic/sites/{site\_id}

##### [Delete Site](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/methods/delete)

client.magicTransit.sites.delete(stringsiteID, SiteDeleteParams { account\_id } params, RequestOptionsoptions?): [Site](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites%20%3E%20%28model%29%20site%20%3E%20%28schema%29) { id, connector\_id, description, 4 more } 

DELETE/accounts/{account\_id}/magic/sites/{site\_id}

##### ModelsExpand Collapse 

Site { id, connector\_id, description, 4 more } 

id?: string

Identifier

maxLength32

connector\_id?: string

Magic Connector identifier tag.

description?: string

ha\_mode?: boolean

Site high availability mode. If set to true, the site can have two connectors and runs in high availability mode.

location?: [SiteLocation](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites%20%3E%20%28model%29%20site%5Flocation%20%3E%20%28schema%29) { lat, lon } 

Location of site in latitude and longitude.

name?: string

The name of the site.

secondary\_connector\_id?: string

Magic Connector identifier tag. Used when high availability mode is on.

SiteLocation { lat, lon } 

Location of site in latitude and longitude.

lat?: string

Latitude

lon?: string

Longitude

#### SitesApp Configuration

#### SitesACLs

##### [List Site ACLs](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/acls/methods/list)

client.magicTransit.sites.acls.list(stringsiteID, ACLListParams { account\_id } params, RequestOptionsoptions?): SinglePage<[ACL](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.acls%20%3E%20%28model%29%20acl%20%3E%20%28schema%29) { id, description, forward\_locally, 5 more } \>

GET/accounts/{account\_id}/magic/sites/{site\_id}/acls

##### [Site ACL Details](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/acls/methods/get)

client.magicTransit.sites.acls.get(stringaclID, ACLGetParams { account\_id, site\_id } params, RequestOptionsoptions?): [ACL](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.acls%20%3E%20%28model%29%20acl%20%3E%20%28schema%29) { id, description, forward\_locally, 5 more } 

GET/accounts/{account\_id}/magic/sites/{site\_id}/acls/{acl\_id}

##### [Create a new Site ACL](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/acls/methods/create)

client.magicTransit.sites.acls.create(stringsiteID, ACLCreateParams { account\_id, lan\_1, lan\_2, 5 more } params, RequestOptionsoptions?): [ACL](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.acls%20%3E%20%28model%29%20acl%20%3E%20%28schema%29) { id, description, forward\_locally, 5 more } 

POST/accounts/{account\_id}/magic/sites/{site\_id}/acls

##### [Update Site ACL](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/acls/methods/update)

client.magicTransit.sites.acls.update(stringaclID, ACLUpdateParams { account\_id, site\_id, description, 6 more } params, RequestOptionsoptions?): [ACL](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.acls%20%3E%20%28model%29%20acl%20%3E%20%28schema%29) { id, description, forward\_locally, 5 more } 

PUT/accounts/{account\_id}/magic/sites/{site\_id}/acls/{acl\_id}

##### [Patch Site ACL](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/acls/methods/edit)

client.magicTransit.sites.acls.edit(stringaclID, ACLEditParams { account\_id, site\_id, description, 6 more } params, RequestOptionsoptions?): [ACL](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.acls%20%3E%20%28model%29%20acl%20%3E%20%28schema%29) { id, description, forward\_locally, 5 more } 

PATCH/accounts/{account\_id}/magic/sites/{site\_id}/acls/{acl\_id}

##### [Delete Site ACL](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/acls/methods/delete)

client.magicTransit.sites.acls.delete(stringaclID, ACLDeleteParams { account\_id, site\_id } params, RequestOptionsoptions?): [ACL](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.acls%20%3E%20%28model%29%20acl%20%3E%20%28schema%29) { id, description, forward\_locally, 5 more } 

DELETE/accounts/{account\_id}/magic/sites/{site\_id}/acls/{acl\_id}

##### ModelsExpand Collapse 

ACL { id, description, forward\_locally, 5 more } 

Bidirectional ACL policy for network traffic within a site.

id?: string

Identifier

maxLength32

description?: string

Description for the ACL.

forward\_locally?: boolean

The desired forwarding action for this ACL policy. If set to “false”, the policy will forward traffic to Cloudflare. If set to “true”, the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.

lan\_1?: [ACLConfiguration](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.acls%20%3E%20%28model%29%20acl%5Fconfiguration%20%3E%20%28schema%29) { lan\_id, lan\_name, port\_ranges, 2 more } 

lan\_2?: [ACLConfiguration](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.acls%20%3E%20%28model%29%20acl%5Fconfiguration%20%3E%20%28schema%29) { lan\_id, lan\_name, port\_ranges, 2 more } 

name?: string

The name of the ACL.

protocols?: Array<[AllowedProtocol](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.acls%20%3E%20%28model%29%20allowed%5Fprotocol%20%3E%20%28schema%29)\>

One of the following:

"tcp"

"udp"

"icmp"

unidirectional?: boolean

The desired traffic direction for this ACL policy. If set to “false”, the policy will allow bidirectional traffic. If set to “true”, the policy will only allow traffic in one direction. If not included in request, will default to false.

ACLConfiguration { lan\_id, lan\_name, port\_ranges, 2 more } 

lan\_id: string

The identifier for the LAN you want to create an ACL policy with.

lan\_name?: string

The name of the LAN based on the provided lan\_id.

port\_ranges?: Array<string\>

Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.

ports?: Array<number\>

Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.

subnets?: Array<[Subnet](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.acls%20%3E%20%28model%29%20subnet%20%3E%20%28schema%29)\>

Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.

AllowedProtocol \= "tcp" | "udp" | "icmp"

Array of allowed communication protocols between configured LANs. If no protocols are provided, all protocols are allowed.

One of the following:

"tcp"

"udp"

"icmp"

Subnet \= string

A valid IPv4 address.

#### SitesLANs

##### [List Site LANs](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/lans/methods/list)

client.magicTransit.sites.lans.list(stringsiteID, LANListParams { account\_id } params, RequestOptionsoptions?): SinglePage<[LAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.lans%20%3E%20%28model%29%20lan%20%3E%20%28schema%29) { id, bond\_id, ha\_link, 9 more } \>

GET/accounts/{account\_id}/magic/sites/{site\_id}/lans

##### [Site LAN Details](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/lans/methods/get)

client.magicTransit.sites.lans.get(stringlanID, LANGetParams { account\_id, site\_id } params, RequestOptionsoptions?): [LAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.lans%20%3E%20%28model%29%20lan%20%3E%20%28schema%29) { id, bond\_id, ha\_link, 9 more } 

GET/accounts/{account\_id}/magic/sites/{site\_id}/lans/{lan\_id}

##### [Create a new Site LAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/lans/methods/create)

client.magicTransit.sites.lans.create(stringsiteID, LANCreateParams { account\_id, bond\_id, ha\_link, 8 more } params, RequestOptionsoptions?): SinglePage<[LAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.lans%20%3E%20%28model%29%20lan%20%3E%20%28schema%29) { id, bond\_id, ha\_link, 9 more } \>

POST/accounts/{account\_id}/magic/sites/{site\_id}/lans

##### [Update Site LAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/lans/methods/update)

client.magicTransit.sites.lans.update(stringlanID, LANUpdateParams { account\_id, site\_id, bond\_id, 8 more } params, RequestOptionsoptions?): [LAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.lans%20%3E%20%28model%29%20lan%20%3E%20%28schema%29) { id, bond\_id, ha\_link, 9 more } 

PUT/accounts/{account\_id}/magic/sites/{site\_id}/lans/{lan\_id}

##### [Patch Site LAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/lans/methods/edit)

client.magicTransit.sites.lans.edit(stringlanID, LANEditParams { account\_id, site\_id, bond\_id, 8 more } params, RequestOptionsoptions?): [LAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.lans%20%3E%20%28model%29%20lan%20%3E%20%28schema%29) { id, bond\_id, ha\_link, 9 more } 

PATCH/accounts/{account\_id}/magic/sites/{site\_id}/lans/{lan\_id}

##### [Delete Site LAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/lans/methods/delete)

client.magicTransit.sites.lans.delete(stringlanID, LANDeleteParams { account\_id, site\_id } params, RequestOptionsoptions?): [LAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.lans%20%3E%20%28model%29%20lan%20%3E%20%28schema%29) { id, bond\_id, ha\_link, 9 more } 

DELETE/accounts/{account\_id}/magic/sites/{site\_id}/lans/{lan\_id}

##### ModelsExpand Collapse 

DHCPRelay { server\_addresses } 

server\_addresses?: Array<string\>

List of DHCP server IPs.

DHCPServer { dhcp\_options, dhcp\_pool\_end, dhcp\_pool\_start, 3 more } 

dhcp\_options?: Array<DHCPOption\>

Optional list of custom DHCP options to include in DHCP responses. Only valid when DHCP server is enabled.

code: number

DHCP option number (1-254). Options 0 and 255 are reserved by RFC 2132\. Options 3, 6, and 51 are not allowed because they conflict with connector-managed configuration.

maximum254

minimum1

type: "text" | "hex" | "ip" | 3 more

The type of the option value. text: a string (max 255 bytes). hex: colon-separated hex bytes (e.g. “01:04:aa:bb:cc”, max 255 bytes). ip: an IPv4 address (e.g. “10.20.30.40”). byte: an unsigned integer 0-255 (1 byte). short: an unsigned integer 0-65535 (2 bytes). integer: an unsigned integer 0-4294967295 (4 bytes).

One of the following:

"text"

"hex"

"ip"

"byte"

"short"

"integer"

value: string

The option value, interpreted according to the type field.

dhcp\_pool\_end?: string

A valid IPv4 address.

dhcp\_pool\_start?: string

A valid IPv4 address.

Deprecateddns\_server?: string

A valid IPv4 address.

dns\_servers?: Array<string\>

reservations?: Record<string, string\>

Mapping of MAC addresses to IP addresses

LAN { id, bond\_id, ha\_link, 9 more } 

id?: string

Identifier

maxLength32

bond\_id?: number

ha\_link?: boolean

mark true to use this LAN for HA probing. only works for site with HA turned on. only one LAN can be set as the ha\_link.

is\_breakout?: boolean

mark true to use this LAN for source-based breakout traffic

is\_prioritized?: boolean

mark true to use this LAN for source-based prioritized traffic

name?: string

nat?: [Nat](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.lans%20%3E%20%28model%29%20nat%20%3E%20%28schema%29) { static\_prefix } 

physport?: number

routed\_subnets?: Array<[RoutedSubnet](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.lans%20%3E%20%28model%29%20routed%5Fsubnet%20%3E%20%28schema%29) { next\_hop, prefix, nat } \>

next\_hop: string

A valid IPv4 address.

prefix: string

A valid CIDR notation representing an IP range.

nat?: [Nat](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.lans%20%3E%20%28model%29%20nat%20%3E%20%28schema%29) { static\_prefix } 

site\_id?: string

Identifier

maxLength32

static\_addressing?: [LANStaticAddressing](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.lans%20%3E%20%28model%29%20lan%5Fstatic%5Faddressing%20%3E%20%28schema%29) { address, dhcp\_relay, dhcp\_server, 2 more } 

If the site is not configured in high availability mode, this configuration is optional (if omitted, use DHCP). However, if in high availability mode, static\_address is required along with secondary and virtual address.

vlan\_tag?: number

VLAN ID. Use zero for untagged.

LANStaticAddressing { address, dhcp\_relay, dhcp\_server, 2 more } 

If the site is not configured in high availability mode, this configuration is optional (if omitted, use DHCP). However, if in high availability mode, static\_address is required along with secondary and virtual address.

address: string

A valid CIDR notation representing an IP range.

dhcp\_relay?: [DHCPRelay](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.lans%20%3E%20%28model%29%20dhcp%5Frelay%20%3E%20%28schema%29) { server\_addresses } 

dhcp\_server?: [DHCPServer](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.lans%20%3E%20%28model%29%20dhcp%5Fserver%20%3E%20%28schema%29) { dhcp\_options, dhcp\_pool\_end, dhcp\_pool\_start, 3 more } 

secondary\_address?: string

A valid CIDR notation representing an IP range.

virtual\_address?: string

A valid CIDR notation representing an IP range.

Nat { static\_prefix } 

static\_prefix?: string

A valid CIDR notation representing an IP range.

RoutedSubnet { next\_hop, prefix, nat } 

next\_hop: string

A valid IPv4 address.

prefix: string

A valid CIDR notation representing an IP range.

nat?: [Nat](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.lans%20%3E%20%28model%29%20nat%20%3E%20%28schema%29) { static\_prefix } 

#### SitesWANs

##### [List Site WANs](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/wans/methods/list)

client.magicTransit.sites.wans.list(stringsiteID, WANListParams { account\_id } params, RequestOptionsoptions?): SinglePage<[WAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.wans%20%3E%20%28model%29%20wan%20%3E%20%28schema%29) { id, health\_check\_rate, name, 5 more } \>

GET/accounts/{account\_id}/magic/sites/{site\_id}/wans

##### [Site WAN Details](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/wans/methods/get)

client.magicTransit.sites.wans.get(stringwanID, WANGetParams { account\_id, site\_id } params, RequestOptionsoptions?): [WAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.wans%20%3E%20%28model%29%20wan%20%3E%20%28schema%29) { id, health\_check\_rate, name, 5 more } 

GET/accounts/{account\_id}/magic/sites/{site\_id}/wans/{wan\_id}

##### [Create a new Site WAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/wans/methods/create)

client.magicTransit.sites.wans.create(stringsiteID, WANCreateParams { account\_id, physport, name, 3 more } params, RequestOptionsoptions?): SinglePage<[WAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.wans%20%3E%20%28model%29%20wan%20%3E%20%28schema%29) { id, health\_check\_rate, name, 5 more } \>

POST/accounts/{account\_id}/magic/sites/{site\_id}/wans

##### [Update Site WAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/wans/methods/update)

client.magicTransit.sites.wans.update(stringwanID, WANUpdateParams { account\_id, site\_id, name, 4 more } params, RequestOptionsoptions?): [WAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.wans%20%3E%20%28model%29%20wan%20%3E%20%28schema%29) { id, health\_check\_rate, name, 5 more } 

PUT/accounts/{account\_id}/magic/sites/{site\_id}/wans/{wan\_id}

##### [Patch Site WAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/wans/methods/edit)

client.magicTransit.sites.wans.edit(stringwanID, WANEditParams { account\_id, site\_id, name, 4 more } params, RequestOptionsoptions?): [WAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.wans%20%3E%20%28model%29%20wan%20%3E%20%28schema%29) { id, health\_check\_rate, name, 5 more } 

PATCH/accounts/{account\_id}/magic/sites/{site\_id}/wans/{wan\_id}

##### [Delete Site WAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit/subresources/sites/subresources/wans/methods/delete)

client.magicTransit.sites.wans.delete(stringwanID, WANDeleteParams { account\_id, site\_id } params, RequestOptionsoptions?): [WAN](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.wans%20%3E%20%28model%29%20wan%20%3E%20%28schema%29) { id, health\_check\_rate, name, 5 more } 

DELETE/accounts/{account\_id}/magic/sites/{site\_id}/wans/{wan\_id}

##### ModelsExpand Collapse 

WAN { id, health\_check\_rate, name, 5 more } 

id?: string

Identifier

maxLength32

health\_check\_rate?: "low" | "mid" | "high"

Magic WAN health check rate for tunnels created on this link. The default value is `mid`.

One of the following:

"low"

"mid"

"high"

name?: string

physport?: number

priority?: number

Priority of WAN for traffic loadbalancing.

site\_id?: string

Identifier

maxLength32

static\_addressing?: [WANStaticAddressing](https://developers.cloudflare.com/api/typescript/resources/magic%5Ftransit#%28resource%29%20magic%5Ftransit.sites.wans%20%3E%20%28model%29%20wan%5Fstatic%5Faddressing%20%3E%20%28schema%29) { address, gateway\_address, secondary\_address } 

(optional) if omitted, use DHCP. Submit secondary\_address when site is in high availability mode.

vlan\_tag?: number

VLAN ID. Use zero for untagged.

WANStaticAddressing { address, gateway\_address, secondary\_address } 

(optional) if omitted, use DHCP. Submit secondary\_address when site is in high availability mode.

address: string

A valid CIDR notation representing an IP range.

gateway\_address: string

A valid IPv4 address.

secondary\_address?: string

A valid CIDR notation representing an IP range.