v1

latestSwagger 2.02026-08-04232286653.5 KB
VPC Subnets

Lists all VPC subnets in the project and returns their details.

get/projects/{project_id}/networking/vpc-subnets

Path parameters

project_idstring required

Response

Example response

{
  "items": [
    {
      "cidr": "121.0.0.0/24",
      "id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
      "location": "us-northcentraleast1-a",
      "name": "my-subnet",
      "nat_gateways": [
        {
          "id": "8f3c4b7d-3c3b-4a63-8e1a-6cd14c1dfe91",
          "public_ipv4_address": "121.0.0.0",
          "public_ipv4_id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc"
        }
      ],
      "vpc_network_id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc"
    }
  ]
}