v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1425156138.7 KB

Deletes a token for the workspace service account.

This will disable the key associated with the token. If any automation is currently using the key, it will no longer be authenticated or authorized to perform actions with the Grafana HTTP APIs.

Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.

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

Path parameters

tokenIdstring required

The ID of the token to delete.

serviceAccountIdstring required

The ID of the service account from which to delete the token.

workspaceIdstring required

The ID of the workspace from which to delete the token.

Response

Success

tokenIdstring required

The ID of the token that was deleted.

serviceAccountIdstring required

The ID of the service account where the token was deleted.

workspaceIdstring required

The ID of the workspace where the token was deleted.