Skip to content

Deletes an existing workspace

Description

Deletes an existing workspace.

When you delete a workspace, the data that has been ingested into it is not immediately deleted. It will be permanently deleted within one month.

Usage

prometheusservice_delete_workspace(workspaceId, clientToken)

Arguments

  • workspaceId

    [required] The ID of the workspace to delete.

  • clientToken

    A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.

Value

An empty list.

Request syntax

svc$delete_workspace(
  workspaceId = "string",
  clientToken = "string"
)