DecisionRules icon

DecisionRules

DecisionRules Actions

Management Rule → Delete Rule

AI-generated

Summary

Delete a management rule by its unique identifier or path, optionally specifying the version to delete.

Inputs

  • identifierType (required) — Choose whether to identify the rule by 'ID or Alias' or by 'Path'.
  • ruleId (required) — The unique ID or alias of the rule to delete (required if identifying by ID).
  • path (required) — The unique path to the rule to delete (required if identifying by path).
  • ruleVersion — The specific version of the rule to delete; if omitted, defaults to deleting the latest version.

Output shape

a single record representing the deletion response from the API

The response format depends on the underlying API; the node returns the raw API response after attempting deletion. Errors are thrown if the deletion request fails.

Examples

Example 1: Delete rule by ID (or alias)

Set 'Identify By' to 'ID or Alias', provide the 'Rule ID or Alias', optionally provide 'Rule Version'. The node deletes the specified rule version or the latest if version is omitted.

Example 2: Delete rule by Path

Set 'Identify By' to 'Path', provide the full 'Path to the Rule', optionally provide 'Rule Version'. The node deletes the specified rule version or the latest if version is omitted.

Discussion