v1
latestOpenAPI 3.0.32026-07-14314472448.6 KBservice_accounts
CreateNewToken adds a token to a service account
Required permissions (See note in the introduction for an explanation): action: serviceaccounts:write scope: serviceaccounts:id:1 (single service account)
post/serviceaccounts/{serviceAccountId}/tokens
Path parameters
serviceAccountIdinteger required
Request body
Response
(empty)
Example response
{
"id": 1,
"key": "glsa_iNValIdinValiDinvalidinvalidinva_5b582697",
"name": "grafana"
}