feature-flags

Update a segment

Changed on

Update an existing feature flag segment.

patch/v1/projects/{projectIdOrName}/feature-flags/segments/{segmentIdOrSlug}

Request

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

Path parameters

projectIdOrNamestring required

The project id or name

segmentIdOrSlugstring required

The segment slug

Query parameters

withMetadataboolean

Whether to include metadata

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

labelstring
descriptionstring
hintstring

Response

OR

Changes