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
Create a Grafana user to connect to your Cockpit's Grafana. Upon creation, your user password displays only once, so make sure that you save it.
175
176
Each Grafana user is associated with a role: viewer or editor. A viewer can only view dashboards, whereas an editor can create and edit dashboards. Note that the `admin` username is not available for creation.
176
177
:param login: Username of the Grafana user. Note that the `admin` username is not available for creation.
177
178
:param project_id: ID of the Project in which to create the Grafana user.
Copy file name to clipboardExpand all lines: scaleway/scaleway/cockpit/v1/api.py
+15-5Lines changed: 15 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -170,13 +170,15 @@ def create_grafana_user(
170
170
role: Optional[GrafanaUserRole] =None,
171
171
) ->GrafanaUser:
172
172
"""
173
-
Create a Grafana user.
173
+
(Deprecated) EOL 2026-01-20.
174
+
Create a Grafana user
174
175
Create a Grafana user to connect to your Cockpit's Grafana. Upon creation, your user password displays only once, so make sure that you save it.
175
176
Each Grafana user is associated with a role: viewer or editor. A viewer can only view dashboards, whereas an editor can create and edit dashboards. Note that the `admin` username is not available for creation.
176
177
:param login: Username of the Grafana user. Note that the `admin` username is not available for creation.
177
178
:param project_id: ID of the Project in which to create the Grafana user.
178
179
:param role: Role assigned to the Grafana user.
179
180
:return: :class:`GrafanaUser <GrafanaUser>`
181
+
:deprecated
180
182
181
183
Usage:
182
184
::
@@ -211,13 +213,15 @@ def list_grafana_users(
211
213
project_id: Optional[str] =None,
212
214
) ->ListGrafanaUsersResponse:
213
215
"""
214
-
List Grafana users.
216
+
(Deprecated) EOL 2026-01-20.
217
+
List Grafana users
215
218
List all Grafana users created in your Cockpit's Grafana. By default, the Grafana users returned in the list are ordered in ascending order.
0 commit comments