---
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`

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[]
  - `envId` union, required
    - string
    - 'preview' | 'production'
  - `connectConfigurationId` string, required
  - `dc` string
  - `passive` false | true, required
  - `buildsEnabled` false | true, required
  - `aws` object
    - `subnetIds` string[], required
    - `securityGroupId` string
  - `createdAt` number, 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`

---

[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)
