PUT
/
api
/
admin
/
feature-flags
/
{flagName}
Update feature flag
curl --request PUT \
  --url http://localhost:4000/api/admin/feature-flags/{flagName} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "enabled": true,
  "percentage": 123,
  "userIds": [
    "<string>"
  ]
}'

Authorizations

Authorization
string
header
required

Dynamic authentication JWT token

Path Parameters

flagName
string
required

Body

application/json

Response

200

Feature flag updated