Skip to content

List virtual networks

Request

Requires virtual-networks::read permission.

Security
JWTAuthorizer
Path
domainNamestringrequired

Domain name

curl -i -X GET \
  'https://apidocs.trustgrid.io/_mock/v2/domain/{domainName}/network' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
Array [
idinteger

Internal numeric ID

namestring

Name of virtual network

descriptionstring
networkCidrstring

Virtual network CIDR

Example:"10.10.14.0/24"
orgIdstring

Organization ID

uidstring

Unique identifier (UUID)

domainNamestring

Domain this network belongs to

noNatboolean

Whether NAT is disabled for this network

typestring

Object type discriminator

Example:"DomainNetwork"
]
Response
[ { "id": 0, "name": "string", "description": "string", "networkCidr": "10.10.14.0/24", "orgId": "string", "uid": "string", "domainName": "string", "noNat": true, "type": "DomainNetwork" } ]