UpdateFlagRequestBody

April 11, 2026 ยท View on GitHub

Example Usage

import { UpdateFlagRequestBody } from "@vercel/sdk/models/updateflagop.js";

let value: UpdateFlagRequestBody = {};

Fields

FieldTypeRequiredDescription
createdBystring:heavy_minus_sign:The user who created this patch
messagestring:heavy_minus_sign:Additional message for this version
variantsmodels.UpdateFlagVariants[]:heavy_minus_sign:The variants of the flag
environmentsRecord<string, models.UpdateFlagEnvironments>:heavy_minus_sign:The configuration for the flag in different environments
seednumber:heavy_minus_sign:A random seed to prevent split points in different flags from having the same targets
descriptionstring:heavy_minus_sign:A description of the flag
statemodels.UpdateFlagState:heavy_minus_sign:N/A
maintainerIdsstring[]:heavy_minus_sign:The user ids of the maintainers of the flag
permanentboolean:heavy_minus_sign:Whether this flag is marked as permanent, indicating it should not be removed
tagsstring[]:heavy_minus_sign:Tags for categorizing the flag