feature-flags

Update project flag settings

Changed on

Update feature flag settings for a project.

patch/v1/projects/{projectIdOrName}/feature-flags/settings

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/projects/{projectIdOrName}/feature-flags/settings
  • 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

enabledboolean
environmentsstring[]

The environments to sync

Response

createdAtnumber
enabledfalse | true required
environmentsstring[] required
ownerIdstring
projectIdstring required
typeName'settings' required
updatedAtnumber

Changes

    • info

      added the non-success response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      removed the non-success response with the status