Article summary
Did you find this summary helpful?
Thank you for your feedback
GET /v1/networks
Get the list of networks in the tenant.
Parameters: None
Request Body: None
Request Example:
curl -X GET -H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Content-Type: application/json' 'https://api.perimeter81.com/api/rest/v1/networks'
Response:
Status Code | Message/Response Body | Description |
---|---|---|
200 | NetworkList | Success. List of networks returned. |
Response Example:
{
"data":[
{
"tenantId":"p81-demo",
"geoPoint":{
"latitude":40.712776,
"longitude":-74.005974
},
"l2tpSharedKey":"<SHARED_KEY>",
"dns":"p81-demo-oefcv7tgnx.pzero.perimeter81.com",
"subnet":"10.251.0.0/16",
"icon":{
"name":"a8350de382c5425fd4a291eb3c382ef267bee8b70ef5ed6deb5a29cd61c0994c_network_icon_p81-demo_1586097795732.png",
"url":"https://static.perimeter81.com/api/files/a8350de382c5425fd4a291eb3c382ef267bee8b70ef5ed6deb5a29cd61c0994c_network_icon_p81-demo_1586097795732.png"
},
"name":"Production",
"isDefault":false,
"accessType":"private",
"applications":[
"E54OJ9K2gB",
"eq4XFCiwts",
"jASrQapMWm",
"hMQegcS0yU",
"8R97M8YiEE",
"9kV7F8jjFX",
"RZ7R4iONlv",
"KYlKN73QIi",
"gzErhFX8Pg"
],
"regions":[
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"dns":"p81-demo-oefcv7tgnx-v8cburmckt.pzero.perimeter81.com",
"geoPoint":{
"latitude":40.705564,
"longitude":-74.118429
},
"icon":{
"name":"772492e19a3d390879bb1f3095d1dce1_flag-lrg-usa-display.png",
"url":"https://static.perimeter81.com/api/files/772492e19a3d390879bb1f3095d1dce1_flag-lrg-usa-display.png"
},
"name":"New York 2",
"attributes":{
},
"instances":[
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"v8CbuRmckT",
"instanceType":"s-1vcpu-2gb",
"imageType":"sxp",
"imageVersion":"sxp-202002231800",
"resourceId":null,
"dns":"p81-demo-bdmgtqskfn.pzero.perimeter81.com",
"ip":"<GATEWAY_IP>",
"tunnels":[
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"v8CbuRmckT",
"instance":"BdMGTqskFn",
"interfaceName":"Azure",
"right":"<TUNNEL_IP>",
"rightID":"<TUNNEL_IP>",
"keyExchange":"ikev2",
"phase1":{
"dh":[
2
],
"encr":[
"sha1"
],
"auth":[
"aes256"
]
},
"phase2":{
"dh":[
2
],
"encr":[
"sha1"
],
"auth":[
"aes256"
]
},
"passphrase":"<TUNNEL_PASSPHRASE>",
"leftSubnets":[
"10.251.0.0/16"
],
"rightSubnets":[
"10.0.0.0/24"
],
"ikeLifeTime":"8h",
"lifetime":"1h",
"dpdDelay":"10s",
"dpdTimeout":"30s",
"dpdAction":"restart",
"type":"ipsec",
"createdAt":"2020-03-04T12:00:08.318Z",
"updatedAt":"2020-07-28T11:09:35.637Z",
"id":"3RoWWRwzro"
}
],
"createdAt":"2020-03-04T10:34:55.647Z",
"updatedAt":"2021-07-18T12:11:04.146Z",
"id":"BdMGTqskFn"
},
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"v8CbuRmckT",
"instanceType":"s-1vcpu-2gb",
"imageType":"sxp",
"imageVersion":"sxp-202002231800",
"resourceId":null,
"dns":"p81-demo-dhabpr56a3.pzero.perimeter81.com",
"ip":"<GATEWAY_IP>",
"tunnels":[
],
"createdAt":"2020-03-04T10:34:55.682Z",
"updatedAt":"2021-05-18T13:09:09.566Z",
"id":"DHABPR56a3"
},
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"v8CbuRmckT",
"instanceType":"s-1vcpu-2gb",
"imageType":"sxp",
"imageVersion":"sxp-2021081100",
"resourceId":null,
"dns":"p81-demo-vld72chcdc.pzero.perimeter81.com",
"ip":"<GATEWAY_IP>",
"tunnels":[
],
"createdAt":"2021-08-17T08:20:40.832Z",
"updatedAt":"2021-08-17T08:20:40.833Z",
"id":"VlD72CHcDC"
}
],
"provider":{
"type":"<VENDOR>",
"region":"nyc1",
"continentCode":"NA",
"countryCode":"US",
"subDivisionCode":"NY",
"defaultVaultKey":"saferx/defaults/do",
"instanceType":"s-1vcpu-2gb"
},
"createdAt":"2020-03-04T10:34:55.642Z",
"updatedAt":"2021-08-17T08:20:40.848Z",
"id":"v8CbuRmckT"
},
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"dns":"p81-demo-oefcv7tgnx-macuhmpkc6.pzero.perimeter81.com",
"geoPoint":{
"latitude":51.50853,
"longitude":-0.076132
},
"icon":{
"name":"c482c288ded2fb900f411d4de322cb4a_flag-lrg-uk-display.png",
"url":"https://static.perimeter81.com/api/files/c482c288ded2fb900f411d4de322cb4a_flag-lrg-uk-display.png"
},
"name":"London 2",
"attributes":{
},
"instances":[
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"mACUhmpkC6",
"instanceType":"s-1vcpu-2gb",
"imageType":"sxp",
"imageVersion":"sxp-202002231800",
"resourceId":null,
"dns":"p81-demo-lxbyhuub0a.pzero.perimeter81.com",
"ip":"<GATEWAY_IP>",
"tunnels":[
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"mACUhmpkC6",
"instance":"LxBYHuuB0A",
"interfaceName":"PaloAltoFW",
"right":"<TUNNEL_IP>",
"rightID":"<TUNNEL_IP>",
"keyExchange":"ikev2",
"phase1":{
"dh":[
2
],
"encr":[
"sha1"
],
"auth":[
"aes128"
]
},
"phase2":{
"dh":[
2
],
"encr":[
"sha1"
],
"auth":[
"aes128"
]
},
"passphrase":"<TUNNEL_PASSPHRASE>",
"leftSubnets":[
"0.0.0.0/0"
],
"rightSubnets":[
"0.0.0.0/0"
],
"ikeLifeTime":"300s",
"lifetime":"1h",
"dpdDelay":"10s",
"dpdTimeout":"30s",
"dpdAction":"restart",
"type":"ipsec",
"createdAt":"2020-03-04T12:12:19.497Z",
"updatedAt":"2020-11-19T18:27:19.900Z",
"id":"moDaSgdpOM"
},
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"mACUhmpkC6",
"instance":"LxBYHuuB0A",
"interfaceName":"P81WireGuard",
"leftEndpoint":"<TUNNEL_IP>",
"leftAllowedIP":[
"10.5.0.0/16"
],
"vault":"saferx/data/pnzFSCOtWU/oEfCV7tGnX/mACUhmpkC6/LxBYHuuB0A/P81WireGuard",
"requestConfigToken":"ODNjNTEyOTE1ZmZkYjU2ZDg1YjMxYzZjZjIzZDk0Mzc2MWUwMzAxODQyNjg4MDk0",
"type":"connector",
"createdAt":"2021-08-05T07:31:20.266Z",
"updatedAt":"2021-08-05T07:31:20.266Z",
"id":"mTMdQrosDS"
}
],
"createdAt":"2020-03-04T10:34:55.769Z",
"updatedAt":"2021-08-05T07:31:20.272Z",
"id":"LxBYHuuB0A"
}
],
"provider":{
"type":"<VENDOR>",
"region":"lon1",
"continentCode":"EU",
"countryCode":"GB",
"defaultVaultKey":"saferx/defaults/do",
"instanceType":"s-1vcpu-2gb"
},
"createdAt":"2020-03-04T10:34:55.764Z",
"updatedAt":"2020-12-16T12:41:31.404Z",
"id":"mACUhmpkC6"
},
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"dns":"p81-demo-oefcv7tgnx-qnognqofpj.pzero.perimeter81.com",
"geoPoint":{
"latitude":-33.8688197,
"longitude":151.209295
},
"icon":{
"name":"5b59b0ed6d55f11560a6dafa4d4f0708_flag-lrg-au-display.png",
"url":"https://static.perimeter81.com/api/files/5b59b0ed6d55f11560a6dafa4d4f0708_flag-lrg-au-display.png"
},
"name":"Sydney",
"attributes":{
},
"instances":[
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"QNognqofpJ",
"instanceType":"202",
"imageType":"sxp",
"imageVersion":"sxp-202002231800",
"resourceId":null,
"dns":"p81-demo-w77zwh9qwb.pzero.perimeter81.com",
"ip":"<GATEWAY_IP>",
"tunnels":[
],
"createdAt":"2020-03-04T11:20:36.405Z",
"updatedAt":"2020-03-04T11:20:36.406Z",
"id":"W77zWh9Qwb"
},
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"QNognqofpJ",
"instanceType":"202",
"imageType":"sxp",
"imageVersion":"sxp-2021091200",
"resourceId":null,
"dns":"p81-demo-ayexzkiyhn.pzero.perimeter81.com",
"ip":"45.32.189.241",
"tunnels":[
],
"createdAt":"2021-09-24T16:06:47.980Z",
"updatedAt":"2021-09-24T16:06:47.981Z",
"id":"AyExZkIYhn"
}
],
"provider":{
"type":"<VENDOR>",
"region":"SYD",
"continentCode":"OC",
"countryCode":"AU",
"defaultVaultKey":"saferx/defaults/vultr",
"instanceType":"202"
},
"createdAt":"2020-03-04T11:20:36.398Z",
"updatedAt":"2021-09-24T16:06:47.986Z",
"id":"QNognqofpJ"
},
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"dns":"p81-demo-oefcv7tgnx-iplhzhnini.pzero.perimeter81.com",
"geoPoint":{
"latitude":12.972442,
"longitude":77.580643
},
"icon":{
"name":"911e175166fa9ee37cf9fd39a2277af1_flag-lrg-india-display.png",
"url":"https://static.perimeter81.com/api/files/911e175166fa9ee37cf9fd39a2277af1_flag-lrg-india-display.png"
},
"name":"Bangalore",
"attributes":{
},
"instances":[
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"IPlhZhNiNi",
"instanceType":"s-1vcpu-2gb",
"imageType":"sxp",
"imageVersion":"sxp-202002231800",
"resourceId":null,
"dns":"p81-demo-p9awdphvxi.pzero.perimeter81.com",
"ip":"<GATEWAY_IP>",
"tunnels":[
],
"createdAt":"2020-03-05T18:32:55.868Z",
"updatedAt":"2020-03-05T18:32:55.869Z",
"id":"p9awDPhVxI"
}
],
"provider":{
"type":"<VENDOR>",
"region":"blr1",
"continentCode":"AS",
"countryCode":"IN",
"defaultVaultKey":"saferx/defaults/do",
"instanceType":"s-1vcpu-2gb"
},
"createdAt":"2020-03-05T18:32:55.860Z",
"updatedAt":"2020-03-05T18:32:55.871Z",
"id":"IPlhZhNiNi"
},
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"dns":"p81-demo-oefcv7tgnx-qpyushzzbr.pzero.perimeter81.com",
"geoPoint":{
"latitude":34.052235,
"longitude":-118.243683
},
"icon":{
"name":"772492e19a3d390879bb1f3095d1dce1_flag-lrg-usa-display.png",
"url":"https://static.perimeter81.com/api/files/772492e19a3d390879bb1f3095d1dce1_flag-lrg-usa-display.png"
},
"name":"Los Angeles",
"attributes":{
},
"instances":[
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"qPYUsHzzbR",
"instanceType":"202",
"imageType":"sxp",
"imageVersion":"sxp-202002231800",
"resourceId":null,
"dns":"p81-demo-mpb82wulfr.pzero.perimeter81.com",
"ip":"<GATEWAY_IP>",
"tunnels":[
],
"createdAt":"2020-03-25T19:57:13.328Z",
"updatedAt":"2020-03-25T19:57:13.329Z",
"id":"MpB82WUlFR"
}
],
"provider":{
"type":"<VENDOR>",
"region":"LAX",
"continentCode":"NA",
"countryCode":"US",
"subDivisionCode":"CA",
"defaultVaultKey":"saferx/defaults/vultr",
"instanceType":"202"
},
"createdAt":"2020-03-25T19:57:13.320Z",
"updatedAt":"2020-06-17T14:48:53.130Z",
"id":"qPYUsHzzbR"
},
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"dns":"p81-demo-oefcv7tgnx-raahvm9dww.pzero.perimeter81.com",
"geoPoint":{
"latitude":37.5665,
"longitude":126.978
},
"icon":{
"name":"LmChca6mqu2cQkVjxRz616b87ZlQ2pNA_flag-lrg-kr-display.png",
"url":"https://static.perimeter81.com/api/files/LmChca6mqu2cQkVjxRz616b87ZlQ2pNA_flag-lrg-kr-display.png"
},
"name":"Seoul",
"attributes":{
},
"instances":[
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"rAAHVM9DwW",
"instanceType":"202",
"imageType":"sxp",
"imageVersion":"sxp-2020060700",
"resourceId":null,
"dns":"p81-demo-um05msae83.pzero.perimeter81.com",
"ip":"<GATEWAY_IP>",
"tunnels":[
],
"createdAt":"2020-06-09T18:21:25.368Z",
"updatedAt":"2020-06-09T18:21:25.368Z",
"id":"UM05MsAE83"
}
],
"provider":{
"type":"<VENDOR>",
"region":"ICN",
"continentCode":"AP",
"countryCode":"KR",
"subDivisionCode":"11",
"defaultVaultKey":"saferx/defaults/vultr",
"instanceType":"202"
},
"createdAt":"2020-06-09T18:21:25.360Z",
"updatedAt":"2020-06-09T18:21:25.370Z",
"id":"rAAHVM9DwW"
},
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"dns":"p81-demo-oefcv7tgnx-amaasjygqu.pzero.perimeter81.com",
"geoPoint":{
"latitude":37.773972,
"longitude":-122.431297
},
"icon":{
"name":"772492e19a3d390879bb1f3095d1dce1_flag-lrg-usa-display.png",
"url":"https://static.perimeter81.com/api/files/772492e19a3d390879bb1f3095d1dce1_flag-lrg-usa-display.png"
},
"name":"San Francisco",
"attributes":{
},
"instances":[
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"aMAASJyGQU",
"instanceType":"s-1vcpu-2gb",
"imageType":"sxp",
"imageVersion":"sxp-2020090800",
"resourceId":null,
"dns":"p81-demo-pcudcan5x7.pzero.perimeter81.com",
"ip":"<GATEWAY_IP>",
"tunnels":[
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"aMAASJyGQU",
"instance":"PCudcan5X7",
"interfaceName":"AzureWest",
"right":"<TUNNEL_IP>",
"rightID":"<TUNNEL_IP>",
"keyExchange":"ikev2",
"phase1":{
"dh":[
2
],
"encr":[
"sha1"
],
"auth":[
"aes256"
]
},
"phase2":{
"dh":[
2
],
"encr":[
"sha1"
],
"auth":[
"aes256"
]
},
"passphrase":"<PASSPHRASE>",
"leftSubnets":[
"10.251.0.0/16"
],
"rightSubnets":[
"10.3.0.0/16"
],
"ikeLifeTime":"9h",
"lifetime":"9h",
"dpdDelay":"10s",
"dpdTimeout":"30s",
"dpdAction":"restart",
"type":"ipsec",
"createdAt":"2020-09-17T08:50:32.470Z",
"updatedAt":"2020-09-17T08:54:01.305Z",
"id":"TbkkxL55ml"
}
],
"createdAt":"2020-09-17T08:19:57.506Z",
"updatedAt":"2020-09-17T08:50:32.473Z",
"id":"PCudcan5X7"
}
],
"provider":{
"type":"<VENDOR>",
"region":"sfo1",
"continentCode":"NA",
"countryCode":"US",
"subDivisionCode":"CA",
"defaultVaultKey":"saferx/defaults/do",
"instanceType":"s-1vcpu-2gb"
},
"createdAt":"2020-09-17T08:19:57.500Z",
"updatedAt":"2020-09-17T08:19:57.508Z",
"id":"aMAASJyGQU"
},
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"dns":"p81-demo-oefcv7tgnx-cr2pfsqoqy.pzero.perimeter81.com",
"geoPoint":{
"latitude":37.548271,
"longitude":-121.988571
},
"icon":{
"name":"772492e19a3d390879bb1f3095d1dce1_flag-lrg-usa-display.png",
"url":"https://static.perimeter81.com/api/files/772492e19a3d390879bb1f3095d1dce1_flag-lrg-usa-display.png"
},
"name":"Fremont",
"attributes":{
},
"instances":[
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"CR2PfSQoqy",
"instanceType":"g6-standard-1",
"imageType":"sxp",
"imageVersion":"sxp-2020111600",
"resourceId":null,
"dns":"p81-demo-f25jnq2k00.pzero.perimeter81.com",
"ip":"<GATEWAY_IP>",
"tunnels":[
],
"createdAt":"2020-12-01T18:54:05.195Z",
"updatedAt":"2020-12-01T18:54:05.196Z",
"id":"F25jnQ2K00"
}
],
"provider":{
"type":"<VENDOR>",
"region":"us-west",
"continentCode":"NA",
"countryCode":"US",
"subDivisionCode":"CA",
"defaultVaultKey":"saferx/defaults/linode",
"instanceType":"g6-standard-1"
},
"createdAt":"2020-12-01T18:54:05.188Z",
"updatedAt":"2020-12-01T18:54:05.197Z",
"id":"CR2PfSQoqy"
},
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"dns":"p81-demo-oefcv7tgnx-3wdjpai2kf.pzero.perimeter81.com",
"geoPoint":{
"latitude":55.18674,
"longitude":25.02671
},
"icon":{
"name":"IiChooxee5Dai7rohm5niesahc3PhiMa-flag-lrg-uae-display.png",
"url":"https://static.perimeter81.com/api/files/IiChooxee5Dai7rohm5niesahc3PhiMa-flag-lrg-uae-display.png"
},
"name":"Dubai 1",
"attributes":{
},
"instances":[
{
"tenantId":"p81-demo",
"network":"oEfCV7tGnX",
"region":"3wDjPAi2KF",
"instanceType":"2048",
"imageType":"sxp",
"imageVersion":"sxp-2021042500",
"resourceId":null,
"dns":"p81-demo-86xffbnzfp.pzero.perimeter81.com",
"ip":"<GATEWAY_IP>",
"tunnels":[
],
"createdAt":"2021-05-18T12:31:17.394Z",
"updatedAt":"2021-05-18T12:31:17.395Z",
"id":"86xFFbnzfP"
}
],
"provider":{
"type":"libvirt",
"region":"sx-dub1",
"continentCode":"AS",
"countryCode":"UAE",
"instanceType":"2048"
},
"createdAt":"2021-05-18T12:31:17.386Z",
"updatedAt":"2021-05-18T12:31:17.397Z",
"id":"3wDjPAi2KF"
}
],
"attributes":{
"customDNS":{
"enabled":false,
"attributes":{
"servers":[
{
"address":"192.168.1.1",
"isTLS":false
},
{
"address":"192.168.1.2",
"isTLS":false
},
{
"address":"192.168.1.100",
"isTLS":false
},
{
"address":"192.168.1.200",
"isTLS":false
}
],
"suffixes":[
"corp.com",
"demo.net"
]
}
},
"splitTunneling":{
"attributes":{
"cidr":[
"10.0.0.1/16",
"192.168.0.0/16",
"172.168.0.0/24"
]
},
"enabled":true
},
"networkController":{
"enabled":true
},
"dnsFiltering":{
"enabled":true
}
},
"tags":[
"Production",
"demo"
],
"createdAt":"2020-03-04T10:34:55.633Z",
"updatedAt":"2021-09-24T16:06:47.969Z",
"id":"oEfCV7tGnX"
}
]
}
Was this article helpful?