---
title: "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}"
---

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}`

Enable, disable, or update tags for an alert processing rule.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `alertProcessingRuleName` string, required

## Query parameters

- `api-version` '2021-08-08-preview', required

## Request body

- PatchObject — Data contract for patch.
  - `properties` PatchProperties — Alert processing rule properties supported by patch.
    - `enabled` boolean — Indicates if the given alert processing rule is enabled or disabled.
  - `tags` object — Tags to be updated.

## Response `200`

OK. Returns the created/updated alert processing rule.

- AlertProcessingRule — An azure resource object
  - `id` string — Azure resource Id
  - `type` string — Azure resource type
  - `name` string — Azure resource name

## Other responses

- `default` — Error response describing why the operation failed.

## Changes

- **2026-07-13** (2019-05-05-preview) `3bbd2bec4b16` — 3 breaking, 1 info
  - added the new path request parameter `resourceGroupName`
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`
  - api tag `AlertProcessingRules` removed
- **2026-07-13** (2019-05-05-preview) `b691585fe941` — 3 breaking, 2 info
  - added the new path request parameter `resourceGroupName`
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`
  - api operation id `AlertProcessingRules_Update` removed and replaced with `ActionRules_Update`
  - …1 more

[Change history](https://skmtc.dev/azure/apis/alertsmanagement-microsoft-alertsmanagement-alertprocessingr/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.AlertsManagement/actionRules/:alertProcessingRuleName/patch.md)

---

[API](https://skmtc.dev/azure/apis/alertsmanagement-microsoft-alertsmanagement-alertprocessingr.md) · [All operations](https://skmtc.dev/azure/apis/alertsmanagement-microsoft-alertsmanagement-alertprocessingr/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/alertsmanagement-microsoft-alertsmanagement-alertprocessingr/revisions/3bbd2bec4b16?raw)
