---
title: "Configures Static IPs for a project"
method: PATCH
path: "/v1/projects/{idOrName}/shared-connect-links"
tags: ["networking", "static-ips"]
---

# Configures Static IPs for a project

`PATCH /v1/projects/{idOrName}/shared-connect-links`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/v1/projects/{idOrName}/shared-connect-links`
- Auth: HTTP bearer

Allows configuring Static IPs for a project

## Path parameters

- `idOrName` string, required: The unique project identifier or the project name

## Query parameters

- `teamId` string
- `slug` string

## Request body

- union
  - object
    - `builds` boolean, required: Whether to use Static IPs for builds.
    - `regions` string[]
  - object
    - `builds` boolean: Whether to use Static IPs for builds.
    - `regions` string[], required

## Response `200`

- object[]
  - `aws` object
    - `securityGroupId` string
    - `subnetIds` string[], required
  - `buildsEnabled` false | true, required
  - `connectConfigurationId` string, required
  - `createdAt` number, required
  - `dc` string
  - `envId` union, required
    - string
    - 'preview' | 'production'
  - `passive` false | true, required
  - `updatedAt` number, required

## 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.
- `402`
- `403`: You do not have permission to access this resource.
- `404`
- `409`
- `410`
- `500`

## Changes

- **2026-07-21** `2ae10ee9d21c`: 1 info
  - added the non-success response with the status `410`
- **2026-06-11** `14b4658f819e`: 1 breaking, 2 info
  - the response property `items/aws/securityGroupId` became optional for the status `200`
  - api tag `networking` added
  - api tag `connect` removed
- **2026-01-22** `c12186034433`: 4 warning, 1 info
  - added the new `false` enum value to the `items/buildsEnabled` response property for the response status `200`
  - added the new `false` enum value to the `items/passive` response property for the response status `200`
  - added the new `true` enum value to the `items/buildsEnabled` response property for the response status `200`
  - added the new `true` enum value to the `items/passive` response property for the response status `200`
  - …1 more
- **2025-11-28** `45991e5c8b6d`: 5 info
  - api operation id `updateSharedConnectLinks` removed and replaced with `updateStaticIps`
  - api tag `static-ips` added
  - added the new optional request property `builds`
  - added `subschema #1, subschema #2` to the request body `anyOf` list
  - …1 more
- **2025-10-09** `50caddad4ae7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vercel/apis/vercel-api/changes/v1/projects/:idOrName/shared-connect-links/patch.md)

---

[API](https://skmtc.dev/vercel/apis/vercel-api.md) - [All operations](https://skmtc.dev/vercel/apis/vercel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vercel/apis/vercel-api/revisions/60686c0e1f6a?raw)
