v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1425156138.7 KB

Deletes a workspace service account from the workspace.

This will delete any tokens created for the service account, as well. If the tokens are currently in use, the will fail to authenticate / authorize after they are deleted.

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

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

Path parameters

serviceAccountIdstring required

The ID of the service account to delete.

workspaceIdstring required

The ID of the workspace where the service account resides.

Response

Success

serviceAccountIdstring required

The ID of the service account deleted.

workspaceIdstring required

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