UpdateFlagRequestBody
April 11, 2026 ยท View on GitHub
Example Usage
import { UpdateFlagRequestBody } from "@vercel/sdk/models/updateflagop.js";
let value: UpdateFlagRequestBody = {};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
createdBy | string | :heavy_minus_sign: | The user who created this patch |
message | string | :heavy_minus_sign: | Additional message for this version |
variants | models.UpdateFlagVariants[] | :heavy_minus_sign: | The variants of the flag |
environments | Record<string, models.UpdateFlagEnvironments> | :heavy_minus_sign: | The configuration for the flag in different environments |
seed | number | :heavy_minus_sign: | A random seed to prevent split points in different flags from having the same targets |
description | string | :heavy_minus_sign: | A description of the flag |
state | models.UpdateFlagState | :heavy_minus_sign: | N/A |
maintainerIds | string[] | :heavy_minus_sign: | The user ids of the maintainers of the flag |
permanent | boolean | :heavy_minus_sign: | Whether this flag is marked as permanent, indicating it should not be removed |
tags | string[] | :heavy_minus_sign: | Tags for categorizing the flag |