v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1425156138.7 KB

Deletes a Grafana API key for the workspace.

In workspaces compatible with Grafana version 9 or above, use workspace service accounts instead of API keys. API keys will be removed in a future release.

delete/workspaces/{workspaceId}/apikeys/{keyName}

Path parameters

keyNamestring required

The name of the API key to delete.

workspaceIdstring required

The ID of the workspace to delete.

Response

Success

keyNamestring required

The name of the key that was deleted.

workspaceIdstring required

The ID of the workspace where the key was deleted.