Update flag settings for user
Deprecated
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.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Path Parameters
The project key
stringThe environment key
stringThe user key
stringThe feature flag key
stringRequest Body
application/json
The variation value to set for the context. Must match the flag's variation type.
Optional comment describing the change
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/v2/users/string/string/string/flags/string" \ -H "Content-Type: application/json" \ -d '{}'Get flag setting for user GET
Get a single flag setting for a user by flag key. <br /><br />The `_value` is the flag variation that the user receives. The `setting` indicates whether you've explicitly targeted a user to receive a particular variation. For example, if you have turned off a feature flag for a user, this setting will be `false`. The example response indicates that the user `Abbie_Braun` has the `sort.order` flag enabled.
Get expiring dates on flags for user GET
Get a list of flags for which the given user is scheduled for removal.