v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1425156138.7 KB

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.

get/workspaces/{workspaceId}/serviceaccounts

Path parameters

workspaceIdstring required

The workspace for which to list service accounts.

Query parameters

maxResultsinteger

The maximum number of service accounts to include in the results.

nextTokenstring

The token for the next set of service accounts to return. (You receive this token from a previous <code>ListWorkspaceServiceAccounts</code> operation.)

Response

Success

nextTokenstring

The token to use when requesting the next set of service accounts.

workspaceIdstring required

The workspace to which the service accounts are associated.