Create a VPC

Creates an isolated virtual network. Requires scope: network.write.

Authentication

AuthorizationBearer

IBEE platform API token. Production tokens start with ibee_prod_key_; development tokens start with ibee_dev_key_. Use a token only with its matching gateway environment.

Query parameters

workspace_idstringRequiredformat: "^[1-9][0-9]*$">=1 character

The positive numeric workspace ID to scope this request to. Zero, negative, and non-numeric values are rejected.

Request

This endpoint expects an object.
namestringRequired1-80 characters
site_idstringRequired1-120 characters

Required network placement site. Copy site_id from GET /networking/sites and choose an entry where available is true. Do not use a region name.

descriptionstringOptional<=500 charactersDefaults to
regionstring or nullOptional
cidrstring or nullOptional

RFC1918 IPv4 CIDR with a prefix between /22 and /28.

auto_cidrbooleanOptionalDefaults to true
create_default_subnetbooleanOptionalDefaults to true
default_subnet_cidrstring or nullOptional
is_defaultbooleanOptionalDefaults to false
connectivity_typeenumOptionalDefaults to public

Response

VPC created successfully.
vpc_idstring
organization_idstring
workspace_idstring
site_idstring
namestring
cidrstring
statusenum
connectivity_typeenum
created_atdatetime
updated_atdatetime
account_idstringOptional
descriptionstringOptional
regionstring or nullOptional
is_defaultbooleanOptional
error_messagestring or nullOptional
node_countintegerOptional>=0
nat_pricingobjectOptional
subnetslist of objectsOptional
nat_gatewayslist of objectsOptional
attached_nodeslist of objectsOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error