Users (beta)
Get user attribute names
Use contexts instead
After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use Get context attribute names instead of this endpoint.
Get all in-use user attributes in the specified environment. The set of in-use attributes typically consists of all attributes seen within the past 30 days.
get/api/v2/user-attributes/{projectKey}/{environmentKey}
Path parameters
projectKeystring string required
The project key
The project key
environmentKeystring string required
The environment key
The environment key
Response
User attribute names response
Example response
{
"private": [
"SSN",
"credit_card_number"
],
"custom": [
"Age",
"FavoriteFood",
"FavoriteColor"
],
"standard": [
"key",
"ip",
"firstName",
"lastName",
"country",
"anonymous"
]
}