v44

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-20129390589.6 KB
admin

Update a feature flag

⚠️ This endpoint is in public preview.

Update the enabled state and/or account_regex of an existing feature flag. At least one of enabled or account_regex must be provided. Omitted fields are left unchanged.

put/preview/v2/admin/feature_flags

Request body

feature_flag_idstring required
account_regexstring nullable
enabledboolean nullable

Response

Feature flag updated

object'feature_flag' required
feature_flag_idstring required

Example response

{
  "object": "feature_flag"
}