---
title: "Update a Secure Compute network"
method: PATCH
path: "/v1/connect/networks/{networkId}"
tags: ["networking"]
---

# Update a Secure Compute network

`PATCH /v1/connect/networks/{networkId}`

Allows to update a Secure Compute network.

## Path parameters

- `networkId` string, required — The unique identifier of the Secure Compute network

## Query parameters

- `teamId` string
- `slug` string

## Request body

- object
  - `name` string, required — The name of the Secure Compute network

## Response `200`

- 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[]
  - `reservedEgressIpAddresses` string[] — The BYOIP egress (NAT gateway) IP addresses pre-allocated for this network from the region's egress IPAM pool. Present in regions that have an egress pool. Customers can allowlist these addresses before egress is switched over to them, since they are reserved ahead of the switch.
  - `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. One of the provided values in the request query is invalid.
- `401` — The request is not authorized.
- `403` — You do not have permission to access this resource.
- `410`

## Changes

> 39 revisions in range; 26 could not be searched.

- **2026-07-31** `e20468c66692` — 1 info
  - added the optional property `egressCidrBlock` to the response with the `200` status
- **2026-07-21** `2ae10ee9d21c` — 1 info
  - added the non-success response with the status `410`

[Change history](https://skmtc.dev/vercel/apis/api/changes/v1/connect/networks/:networkId/patch.md)

---

[API](https://skmtc.dev/vercel/apis/api.md) · [All operations](https://skmtc.dev/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vercel/api/revisions/4191ba96b0c1/schema)
