GET
/
projects
/
{id}
/
vpc
/
networks
curl --request GET \
  --url https://api.mkinf.io/v0.1/projects/{id}/vpc/networks \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "695b751c-2eaa-4e8b-8eb2-84cb367a69fe",
      "name": "default-vpc-network",
      "subnets": [
        "7ceecd34-2631-4857-ad82-ceb9dfd09425",
        "1f264f8a-a753-462a-8fa8-bfe7bdb90891",
        "778aaeef-5edd-4fc6-868f-b6cdd17795b7"
      ],
      "gateway": "898c4316-49d5-48c7-919c-4b7c71f006dc",
      "cidr": "172.27.0.0/16"
    }
  ]
}

List all VPC networks in a project. Returns information about each network including subnets, gateway, and CIDR range.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Project id

Response

200 - application/json

The response is of type object.