---
title: "Create a Secure Compute network"
method: POST
path: "/v1/connect/networks"
tags: ["networking"]
---

# Create a Secure Compute network

`POST /v1/connect/networks`

Allows to create a Secure Compute network.

## Query parameters

- `teamId` string
- `slug` string

## Request body

- object
  - `awsAvailabilityZoneIds` string[]
  - `cidr` string, required — The CIDR block of the network
  - `name` string, required — The name of the network
  - `region` string, required — The region where the network will be created

## Response `201`

- Network
  - `awsAccountId` string, required — The ID of the AWS Account in which the network exists.
  - `awsAvailabilityZoneIds` string[] — The IDs of the AWS Availability Zones in which the network exists, if specified during creation.
  - `awsRegion` string, required — The AWS Region in which the network exists.
  - `cidr` string, required — The CIDR range of the Network.
  - `createdAt` number, required — The date at which the Network was created, represented as a UNIX timestamp since EPOCH.
  - `egressIpAddresses` string[]
  - `egressCidrBlock` string — The single contiguous CIDR block from which all egress (NAT gateway) IP addresses are allocated. Present only for networks created with the egress CIDR block feature enabled. Customers can allowlist this range instead of individual egress IPs so it keeps working when AZs are added.
  - `hostedZones` object — Metadata about any AWS Route53 Hosted Zones associated with the Network.
    - `count` number, required — The number of AWS Route53 Hosted Zones associated with the Network.
  - `id` string, required — The unique identifier of the Network.
  - `name` string, required — The name of the network.
  - `peeringConnections` object — Metadata about any AWS Route53 Hosted Zones associated with the Network.
    - `count` number, required — The number of AWS Route53 Hosted Zones associated with the Network.
  - `projects` object — Metadata about any projects associated with the Network.
    - `count` number, required
    - `ids` string[], required
  - `region` string — The Vercel region in which the Network exists.
  - `status` 'create_in_progress' | 'delete_in_progress' | 'error' | 'ready', required — The status of the Network.
  - `teamId` string, required — The unique identifier of the Team that owns the Network.
  - `vpcId` string — The ID of the VPC which hosts the network.

## Other responses

- `400` — One of the provided values in the request body is invalid.
- `401` — The request is not authorized.
- `402` — The account is missing a payment so payment method must be updated
- `403` — You do not have permission to access this resource.
- `409`
- `410`

---

[API](https://skmtc.net/vercel/apis/api.md) · [All operations](https://skmtc.net/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vercel/api/versions/61d1ba3f6dac/schema)
