v1
latestSwagger 2.02026-08-04232286653.5 KBVPC Subnets
Returns details for a single VPC subnet in the project.
get/projects/{project_id}/networking/vpc-subnets/{vpc_subnet_id}
Path parameters
project_idstring required
ID of the project that owns the VPC subnet.
vpc_subnet_idstring required
ID of the VPC subnet.
Response
Example response
{
"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"
}