Skip to main content
PATCH
/
feature-flags
Update feature flags
curl --request PATCH \
  --url https://{subdomain}.nudj.cx/api/v2/admin/feature-flags \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: <api-key>' \
  --data '{
  "flags": [
    {
      "key": "anonymous-account-conversion",
      "enabled": true
    }
  ]
}'
[
  {
    "key": "anonymous-account-conversion",
    "enabled": true
  }
]

Authorizations

x-api-token
string
header
required

Body

application/json
flags
Feature Flag · object[]
required

Response

Successful response

key
enum<string>
required

The feature flag key

Available options:
anonymous-account-conversion,
anonymous-login,
force-oidc-authentication,
user-personalisation,
disable-achievements,
disable-gamification,
fixed-points-distribution,
leaderboard,
points-system,
streaks,
anonymise-leaderboard,
anonymise-user-data,
community-site-navigation,
disable-comments-on-posts,
disable-discover-tab,
disable-posts,
disable-reward-tab,
disable-shop,
enable-refer-a-friend,
loyalty-card-collection,
enable-user-language-switching
enabled
boolean
required

Whether the feature is enabled

I