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
}
]Update the state of one or more 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
}
]Show child attributes
Successful response
The feature flag key
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-achievements-tab, disable-challenges-tab, disable-discover-tab, disable-posts, disable-posts-tab, disable-reward-tab, disable-shop, enable-refer-a-friend, loyalty-card-collection, enable-user-language-switching Whether the feature is enabled
Was this page helpful?