Skip to main content
GET
/
network
/
vpcs
List VPCs
curl --request GET \
  --url https://api.cloud.onidel.com/network/vpcs \
  --header 'Authorization: <api-key>'
{
  "vpcs": [
    {
      "id": "f5a3e2d8-9876-4abc-1234-543210fedcba",
      "name": "Production VPC",
      "description": "VPC for production environment",
      "date_created": "2024-01-15T10:30:00Z",
      "status": "active",
      "location": "sydney",
      "v4_subnet": "10.0.0.0",
      "v4_subnet_mask": "24",
      "owner_team": {
        "id": "c1d45377-b2a9-4407-ab8d-6909c34dfaac",
        "name": "IT Development"
      },
      "teams": [
        {
          "id": "c1d45377-b2a9-4407-ab8d-6909c34dfaac",
          "name": "IT Development"
        }
      ],
      "attached_vms_count": 5
    }
  ]
}

Authorizations

Authorization
string
header
required

Provide the value as: Token <your-api-token>

Query Parameters

team_id
string<uuid>

Team ID to filter VPCs. Default team will be used if not provided.

location
string

Filter VPCs by location

Response

Successful operation

vpcs
object[]