You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[**delete_user**](UsersApi.md#delete_user) | **DELETE** /users/{projectKey}/{environmentKey}/{userKey} | Delete a user by ID.
8
8
[**get_search_users**](UsersApi.md#get_search_users) | **GET** /user-search/{projectKey}/{environmentKey} | Search users in LaunchDarkly based on their last active date, or a search query. It should not be used to enumerate all users in LaunchDarkly-- use the List users API resource.
9
+
[**get_user**](UsersApi.md#get_user) | **GET** /users/{projectKey}/{environmentKey}/{userKey} | Get a user by key.
9
10
[**get_users**](UsersApi.md#get_users) | **GET** /users/{projectKey}/{environmentKey} | List all users in the environment. Includes the total count of users. In each page, there will be up to 'limit' users returned (default 20). This is useful for exporting all users in the system for further analysis. Paginated collections will include a next link containing a URL with the next set of elements in the collection.
10
11
11
12
@@ -131,6 +132,64 @@ Name | Type | Description | Notes
project_key ='project_key_example'# String | The project key, used to tie the flags together under one project so they can be managed together.
155
+
156
+
environment_key ='environment_key_example'# String | The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
157
+
158
+
user_key ='user_key_example'# String | The user's key.
159
+
160
+
161
+
begin
162
+
#Get a user by key.
163
+
result = api_instance.get_user(project_key, environment_key, user_key, )
164
+
p result
165
+
rescueLaunchDarklyApi::ApiError => e
166
+
puts"Exception when calling UsersApi->get_user: #{e}"
**project_key** | **String**| The project key, used to tie the flags together under one project so they can be managed together. |
175
+
**environment_key** | **String**| The environment key, used to tie together flag configuration and users under one environment so they can be managed together. |
0 commit comments