Skip to content

Delete Workspace Api Key

managedgrafana_delete_workspace_api_key R Documentation

Deletes a Grafana API key for the workspace

Description

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.

Usage

managedgrafana_delete_workspace_api_key(keyName, workspaceId)

Arguments

keyName

[required] The name of the API key to delete.

workspaceId

[required] The ID of the workspace to delete.

Value

A list with the following syntax:

list(
  keyName = "string",
  workspaceId = "string"
)

Request syntax

svc$delete_workspace_api_key(
  keyName = "string",
  workspaceId = "string"
)