Update a flag
Changed onUpdate an existing feature flag. This endpoint supports partial updates, allowing you to modify specific properties like variants, environments, or state without providing the full flag configuration.
Request
- Base URL: https://api.vercel.com
- URL: https://api.vercel.com/v1/projects/{projectIdOrName}/feature-flags/flags/{flagIdOrSlug}
- Auth: HTTP bearer
Path parameters
The project id or name
The flag id or name
Query parameters
Etag to match, can be used interchangeably with the if-match header
Whether to include metadata in the response
The Team identifier to perform the request on behalf of.
The Team slug to perform the request on behalf of.
Request body
Response
Changes
- info
added the optional property
to the response with the status
- info
- breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #1from the response bodyoneOflist for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking