Skip to main content
Effective Date — May 7, 2026
As part of the IAM hierarchy simplification, a new format of the TIR APIs is now available. All endpoints that previously included /teams/:team_id segment will now follow a service-centric structure, with project_id now passed as a query parameter instead of a path segment. You can read more about this change

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

  • cidrQuerystringrequired

    The IPv4 CIDR block to check, for example 172.16.231.0/24

  • project_idQueryintegerrequired

    Project ID

  • vpc_idQueryintegeroptional

    Exclude this VPC's own ranges from the overlap check. Used when validating a range against an existing VPC.

  • active_iamQueryintegeroptional

    Active IAM ID (To access contact person account) Find your Active IAM ID here

  • locationQuerystringrequired

    Location

Responses

200The result of the check. Returns 200 whether or not the range is usable — read is_valid and error.
object
codeinteger
example200
dataobject
errorsobject
messagestring
exampleSuccess