• /
  • EnglishEspañolFrançais日本語한국어Português
  • ログイン今すぐ開始

Delete a muting rule

|View as Markdown (English)

The action identifier is newrelic.alerts.deleteMutingRule.

Deletes an existing muting rule.

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 muting rule.

123456

id

String

Required. The ID of the muting rule to delete.

"7654321"

selectors

List

Optional. JQ selectors to extract values from the response.

selectors:
- name: deletedId
expression: ".data.alertsMutingRuleDelete.id"

The following table describes all output fields returned by this action.

Output

Type

Description

success

Boolean

true when the step executed without error.

errorMessage

String

Error message on failure. null on success.

data

Map

NerdGraph response containing the deleted muting rule's ID.

{
"data": {
"alertsMutingRuleDelete": {
"id": "7654321"
}
}
}

The following example deletes a muting rule that is no longer needed.

Workflow example

name: delete_muting_rule
description: Delete a muting rule
steps:
- name: deleteMutingRule
type: action
action: newrelic.alerts.deleteMutingRule
version: 1
inputs:
accountId: ${{ .workflowInputs.accountId }}
id: ${{ .workflowInputs.mutingRuleId }}
next: end
Copyright © 2026 New Relic株式会社。

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.