v1
latestSwagger 2.02026-07-17290378721.8 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"
}