Enable or disable a feature flag for a user based on their key.
Omitting the setting
attribute from the request body, or including a setting
of null
, erases the current setting for a user.
If you previously patched the flag, and the patch included the user’s data, LaunchDarkly continues to use that data. If LaunchDarkly has never encountered the user’s key before, it calculates the flag values based on the user key alone.
The project key
The environment key
The user key
The feature flag key
Optional comment describing the change
Action succeeded