Home / Servers / PagerDuty API / delete_ruleset_event_rule

Delete an Event Rule

An MCP tool from the PagerDuty API server, hosted on mcp.hjlabs.in.

Delete an Event Rule > ### End-of-life > Rulesets and Event Rules will end-of-life soon. We highly recommend that you migrate to Event Orchestration as soon as possible so you can take advantage of the new… [DELETE /rulesets/{id}/rules/{rule_id}]

Name on the gateway: pagerduty_api__delete_ruleset_event_rule · may change things.

Parameters

NameTypeDescription
id requiredstringThe ID of the resource.
rule_id requiredstringThe id of the Event Rule to retrieve.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "pagerduty_api__delete_ruleset_event_rule",
  "arguments": {
    "id": "…",
    "rule_id": "…"
  }
}

Or connect the PagerDuty API server directly, which lists 459 tools including this one:

Run in your terminal
claude mcp add --transport http hj-pagerduty-api https://mcp.hjlabs.in/mcp/pagerduty-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the delete an event rule tool with id set to ….

More from PagerDuty API