Skip to content

Get a VPC

GET/projects/{project_id}/vpcs/{vpc_id}

Retrieves the details of a specific VPC by its ID.

Path ParametersExpand Collapse
project_id: string
vpc_id: string
ReturnsExpand Collapse
Vpc = object { id, cidr, name, region_code }
id: optional string
cidr: optional string
name: optional string
region_code: optional string

Get a VPC

curl http://localhost:8080/projects/$PROJECT_ID/vpcs/$VPC_ID \
    -H "Authorization: Bearer $TIGER_CLOUD_API_KEY"
{
  "id": "1234567890",
  "cidr": "10.0.0.0/16",
  "name": "my-production-vpc",
  "region_code": "us-east-1"
}
Returns Examples
{
  "id": "1234567890",
  "cidr": "10.0.0.0/16",
  "name": "my-production-vpc",
  "region_code": "us-east-1"
}