Returns a list of service accounts for a workspace¶
Description¶
Returns a list of service accounts for a workspace.
Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.
Usage¶
Arguments¶
-
maxResultsThe maximum number of service accounts to include in the results.
-
nextTokenThe token for the next set of service accounts to return. (You receive this token from a previous
list_workspace_service_accountsoperation.) -
workspaceId[required] The workspace for which to list service accounts.
Value¶
A list with the following syntax:
list(
nextToken = "string",
serviceAccounts = list(
list(
id = "string",
name = "string",
isDisabled = "string",
grafanaRole = "ADMIN"|"EDITOR"|"VIEWER"
)
),
workspaceId = "string"
)