FeatureFlag

Update feature flag

Changed on

Partial update for a feature flag. Set has_<field>=true to include that field in the update; fields without their has_* flag are left untouched.

patch/admin/flags/{key}

Request

Path parameters

keystring required

Request body

has_nameboolean

Only fields with their has_* sibling set to true are updated. Avoids proto3 zero-value ambiguity (e.g. distinguishing "set enabled=false" from "don't touch enabled").

namestring
has_descriptionboolean
descriptionstring
has_enabledboolean
enabledboolean
has_default_accessboolean
default_accessstring
has_is_internalboolean
is_internalboolean
actorstring

Wallet address of the admin performing this action. Required.

Response

A successful response.

okboolean

Changes