List flag settings for user
Deprecated
Get the current flag settings for a given user. 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 and the alternate.page flag disabled, and that the user has not been explicitly targeted to receive a particular variation.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Path Parameters
The project key
stringThe environment key
stringThe user key
stringResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/users/string/string/string/flags"{ "items": { "alternate.page": { "_links": { "self": { "href": "/api/v2/users/lacuna/production/Abbie_Braun/flags/alternate.page", "type": "application/json" } }, "_value": false, "setting": null }, "sort.order": { "_links": { "self": { "href": "/api/v2/users/lacuna/production/Abbie_Braun/flags/sort.order", "type": "application/json" } }, "_value": true, "setting": null } }, "_links": { "self": { "href": "/api/v2/users/lacuna/production/Abbie_Braun/flags", "type": "application/json" } }}Get user GET
> ### Use contexts instead > > After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use [Get context instances](https://launchdarkly.com/docs/api/contexts/get-context-instances) instead of this endpoint. Get a user by key. The `user` object contains all attributes sent in `variation` calls for that key.
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.