Get user
Deprecated> ### 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.
Authentication
Authorizationstring
API Key authentication via header
Path parameters
projectKey
The project key
environmentKey
The environment key
userKey
The user key
Response
User response
lastPing
Timestamp of the last time this user was seen
environmentId
The environment ID
ownerId
The ID of the member who is the owner for this account
user
Details on the user
sortValue
If this record is returned as part of a list, the value used to sort the list. This is only included when the sort
query parameter is specified. It is a time, in Unix milliseconds, if the sort is by lastSeen
. It is a user key if the sort is by userKey
.
_links
The location and content type of related resources
_access
Details on the allowed and denied actions for this user