User settings
Get flag setting for user
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/api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey}
Path parameters
projectKeystring string required
The project key
The project key
environmentKeystring string required
The environment key
The environment key
userKeystring string required
The user key
The user key
featureFlagKeystring string required
The feature flag key
The feature flag key
Response
User flag settings response
Example response
{
"_links": {
"sort.order": {
"href": "/api/v2/users/lacuna/production/Abbie_Braun/flags/sort.order",
"type": "application/json"
}
},
"_value": "true",
"setting": "null",
"reason": {
"kind": "OFF",
"ruleIndex": 3,
"ruleID": "1234567890",
"prerequisiteKey": "someotherflagkey",
"inExperiment": true,
"errorKind": "USER_NOT_SPECIFIED"
}
}