Skip to content

List a network's objects

Request

Requires virtual-networks::read permission.

Security
JWTAuthorizer
Path
networkNamestringrequired

Network name

domainNamestringrequired

Domain name

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

Responses

OK

Bodyapplication/json
Array [
namestring

Object name

cidrstring

CIDR this object represents

Example:"1.2.3.0/24"
descriptionstring
networkNamestring

Virtual network this object belongs to

domainNamestring

Domain this object belongs to

orgIdstring

Organization ID

typestring

Object type discriminator

Example:"NetworkObject"
]
Response
[ { "name": "string", "cidr": "1.2.3.0/24", "description": "string", "networkName": "string", "domainName": "string", "orgId": "string", "type": "NetworkObject" } ]