List tunnel routes
GET
/accounts/{account_id}/teamnet/routes https://api.cloudflare.com/client/v4
Lists and filters private network routes in an account.
Parameters
path Path Parameters
| Name | Type |
|---|---|
account_id
required
| type TunnelAccountId = string |
query Query Parameters
| Name | Type |
|---|---|
comment | type TunnelRouteComment = string |
is_deleted | boolean |
network_subset | type TunnelIpNetwork = string |
network_superset | type TunnelIpNetwork = string |
existed_at | type TunnelExistedAt = string |
tunnel_id | type TunnelTunnelId = string |
route_id | type TunnelRouteId = string |
tun_types | type TunnelTunnelTypes = type TunnelTunnelType = "cfd_tunnel" | "warp_connector" | "warp" | "magic" | "ip_sec" | "gre" | "cni"[] |
virtual_network_id | type TunnelVirtualNetworkId = string |
per_page | type TunnelPerPage = number |
page | type TunnelPageNumber = number |
Responses
200 application/json
List tunnel routes response
type TunnelTeamnetResponseCollection = type TunnelApiResponseCollection = never & { result?: TunnelTeamnet []; }
Client Errors
4XX application/json
List tunnel routes response failure
type TunnelTeamnetResponseCollection = type TunnelApiResponseCollection = never & { result?: TunnelTeamnet []; } & interface TunnelApiResponseCommonFailure {
errors:TunnelMessages ;
messages:TunnelMessages ;
result: null;
success: false;
}
errors:
messages:
result: null;
success: false;
}