Validate a VPC CIDR
Checks an address range before you create a VPC with it: notation, prefix bounds, the private ranges a VPC must sit inside, and whether the range is already in use for networking in the location. Always returns 200 — read data.is_valid and data.error.
GET
/vpc/cidr/validate/Query parameters
cidrQuerystringrequiredThe IPv4 CIDR block to check, for example 172.16.231.0/24
project_idQueryintegerrequiredProject ID
vpc_idQueryintegeroptionalExclude this VPC's own ranges from the overlap check. Used when validating a range against an existing VPC.
active_iamQueryintegeroptionalActive IAM ID (To access contact person account) Find your Active IAM ID here
locationQuerystringrequiredLocation
Responses
200The result of the check. Returns 200 whether or not the range is usable — read is_valid and error.
example
200example
Success