service_accounts

DeleteToken deletes service account tokens

Required permissions (See note in the introduction for an explanation): action: serviceaccounts:write scope: serviceaccounts:id:1 (single service account)

Requires basic authentication and that the authenticated user is a Grafana Admin.

delete/serviceaccounts/{serviceAccountId}/tokens/{tokenId}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/serviceaccounts/{serviceAccountId}/tokens/{tokenId}
  • Auth
    • HTTP basic
    • or API key in header Authorization

Path parameters

tokenIdinteger required
serviceAccountIdinteger required

Response

An OKResponse is returned if the request was successful.

messagestring

Changes

No recorded changes to this operation across all 2 revisions of this API.