feature-flags

Connect a project to the flags of this project

Changed on

Connects a project in the same team to the flags of this project. The consumer project reads this project's flags with its own deployment identity by naming this project in the Flags SDK. Connections grant read and evaluate access across environments, with the consumer deployment's environment selecting the source environment. Requires connection management permission on the source project and read access to the consumer project.

put/v1/projects/{projectIdOrName}/feature-flags/connections

Request

  • Base URL
    https://api.vercel.com
  • URL
    https://api.vercel.com/v1/projects/{projectIdOrName}/feature-flags/connections
  • Auth
    HTTP bearer

Path parameters

projectIdOrNamestring required

The project id or name

Query parameters

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Request body

consumerProjectIdstring required

The project in the same team that may read the flags of this project

Response

consumerProjectIdstring required
consumerProjectNamestring required
createdAtnumber required
createdBystring required
sourceProjectIdstring required
sourceProjectNamestring required

Changes