UpdateFlagSegmentRequest

February 19, 2026 ยท View on GitHub

Example Usage

import { UpdateFlagSegmentRequest } from "@vercel/sdk/models/updateflagsegmentop.js";

let value: UpdateFlagSegmentRequest = {
  projectIdOrName: "<value>",
  segmentIdOrSlug: "<value>",
  teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
  slug: "my-team-url-slug",
};

Fields

FieldTypeRequiredDescriptionExample
projectIdOrNamestring:heavy_check_mark:The project id or name
segmentIdOrSlugstring:heavy_check_mark:The segment slug
withMetadataboolean:heavy_minus_sign:Whether to include metadata
teamIdstring:heavy_minus_sign:The Team identifier to perform the request on behalf of.team_1a2b3c4d5e6f7g8h9i0j1k2l
slugstring:heavy_minus_sign:The Team slug to perform the request on behalf of.my-team-url-slug
requestBodymodels.UpdateFlagSegmentRequestBody:heavy_minus_sign:N/A