Skip to content

Delete Anomaly Detector

prometheusservice_delete_anomaly_detector R Documentation

Removes an anomaly detector from a workspace

Description

Removes an anomaly detector from a workspace. This operation is idempotent.

Usage

prometheusservice_delete_anomaly_detector(workspaceId,
  anomalyDetectorId, clientToken)

Arguments

workspaceId

[required] The identifier of the workspace containing the anomaly detector to delete.

anomalyDetectorId

[required] The identifier of the anomaly detector to delete.

clientToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Value

An empty list.

Request syntax

svc$delete_anomaly_detector(
  workspaceId = "string",
  anomalyDetectorId = "string",
  clientToken = "string"
)