User settings
List flag settings for user
Get the current flag settings for a given user. <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 and the alternate.page flag disabled, and that the user has not been explicitly targeted to receive a particular variation.
get/api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags
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
Response
User flag settings collection response
Example response
{
"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"
}
}
}