v1
latestOpenAPI 3.0.32026-07-14314472448.6 KBservice_accounts
Get service account tokens
Required permissions (See note in the introduction for an explanation): action: serviceaccounts:read scope: global:serviceaccounts:id:1 (single service account)
Requires basic authentication and that the authenticated user is a Grafana Admin.
get/serviceaccounts/{serviceAccountId}/tokens
Path parameters
serviceAccountIdinteger required
Response
(empty)
Example response
[
{
"created": "2022-03-23T10:31:02Z",
"expiration": "2022-03-23T10:31:02Z",
"id": 1,
"lastUsedAt": "2022-03-23T10:31:02Z",
"name": "grafana"
}
]