The action identifier is newrelic.alerts.deleteCondition.
Deletes an existing alert condition. Works across condition types — static, baseline, and others.
The following table describes all available input fields for this action.
Input | Type | Description | Example |
|---|---|---|---|
accountId | Int | Required. The New Relic account that owns the condition. |
|
id | String | Required. The ID of the condition to delete. |
|
selectors | List | Optional. JQ selectors to extract values from the response. | |
The following table describes all output fields returned by this action.
Output | Type | Description |
|---|---|---|
success | Boolean |
|
errorMessage | String | Error message on failure. |
data | Map | NerdGraph response containing the deleted condition's ID. |
The following example deletes an alert condition regardless of its type.
Workflow example |
|---|
|