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
"""The method includes a functionality to get all Grafana system users specified by the optional results_per_page, page and sort option
35
+
36
+
Required Permissions:
37
+
Action: users:read
38
+
Scope: global.users:*
39
+
40
+
Args:
41
+
results_per_page (int): Specify the results_per_page as integer (default 1000)
42
+
page (int): Specify the page as integer (default 1)
43
+
sort (str): Specify the sort option. Valid values are login-asc, login-desc, email-asc, email-desc, name-asc, name-desc, lastSeenAtAge-asc and lastSeenAtAge-desc. By default, if sort is not specified, the user list will be ordered by login, email in ascending order (default None)
44
+
45
+
Raises:
46
+
Exception: Unspecified error by executing the API call
47
+
48
+
Returns:
49
+
api_call (list): Returns the list of Grafana users
"""The method includes a functionality to get all Grafana system users specified by the optional query and paging functionality
35
77
36
78
Required Permissions:
@@ -41,12 +83,13 @@ def search_users(
41
83
results_per_page (int): Specify the results_per_page as integer (default 1000)
42
84
pages (int): Specify the pages as integer (default 1)
43
85
query (str): Specify the query (default None)
86
+
sort (str): Specify the sort option. Valid values are login-asc, login-desc, email-asc, email-desc, name-asc, name-desc, lastSeenAtAge-asc and lastSeenAtAge-desc. By default, if sort is not specified, the user list will be ordered by login, email in ascending order (default None)
44
87
45
88
Raises:
46
89
Exception: Unspecified error by executing the API call
47
90
48
91
Returns:
49
-
api_call (list): Returns the list of Grafana users
0 commit comments