Skip to main content
GET
/
api
/
v2
/
networks
/
{networkID}
Get network
curl --request GET \
  --url https://api.example.com/api/v2/networks/{networkID} \
  --header 'Authorization: Bearer <token>'
{
  "metadata": {
    "id": "a64f9269-36e0-4312-b8d1-52d93d569b7b",
    "name": "my-network",
    "organizationId": "9a8c6370-4065-4d4a-9da0-7678df40cd9d",
    "projectId": "e36c058a-8eba-4f5b-91f4-f6ffb983795c",
    "creationTime": "2024-05-31T14:11:00Z",
    "createdBy": "[email protected]",
    "provisioningStatus": "provisioned",
    "healthStatus": "healthy"
  },
  "spec": {
    "dnsNameservers": [
      "8.8.8.8"
    ]
  },
  "status": {
    "regionId": "d891dbf0-0a01-4efc-ae3a-5d77f6d3424b",
    "prefix": "192.168.0.0/24"
  }
}

Authorizations

Authorization
string
header
required

Operation requires OAuth 2.0 bearer token authentication.

Path Parameters

networkID
string
required

The network ID. A Kubernetes name. Must be a valid DNS containing only lower case characters, numbers or hyphens, start and end with a character or number, and be at most 63 characters in length.

Required string length: 1 - 63

Response

A layer 3 network.

A network.

metadata
object
required

Metadata required by project scoped resource reads.

spec
object
required

A network's specification.

status
object
required

Read only status about a network.