DeleteFlagRequest

February 19, 2026 ยท View on GitHub

Example Usage

import { DeleteFlagRequest } from "@vercel/sdk/models/deleteflagop.js";

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

Fields

FieldTypeRequiredDescriptionExample
projectIdOrNamestring:heavy_check_mark:The project id or name
flagIdOrSlugstring:heavy_check_mark:The flag id or name
ifMatchstring:heavy_minus_sign:Etag to match, can be used interchangeably with the if-match header
withMetadataboolean:heavy_minus_sign:Whether to include metadata in the response
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