List users

Deprecated
GET
/api/v2/users/:projectKey/:environmentKey

Use contexts instead

After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use Search for contexts instead of this endpoint.

List all users in the environment. Includes the total count of users. This is useful for exporting all users in the system for further analysis.

Each page displays users up to a set limit. The default is 20. To page through, follow the next link in the _links object. To learn more, read Representations.

Path parameters

projectKeystringRequired

The project key

environmentKeystringRequired

The environment key

Query parameters

limitlongOptional

The number of elements to return per page

searchAfterstringOptional

Limits results to users with sort values after the value you specify. You can use this for pagination, but we recommend using the next link we provide instead.

Response

Users collection response

totalCountinteger

The total number of users in the environment

itemslist of objects

Details on the users

Errors

Built with