Create a VPC
POST/projects/{project_id}/vpcs
Creates a new Virtual Private Cloud (VPC).
Create a VPC
curl http://localhost:8080/projects/$PROJECT_ID/vpcs \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $TIGER_CLOUD_API_KEY" \
-d '{
"cidr": "10.0.0.0/16",
"name": "my-production-vpc",
"region_code": "us-east-1"
}'{
"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"
}