User settings

List flag settings for user

Deprecated

GET
/api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags

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, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

projectKey*string

The project key

Formatstring
environmentKey*string

The environment key

Formatstring
userKey*string

The user key

Formatstring

Response 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"    }  }}