---
title: "Update an automation rule of a v3 status page."
method: PUT
path: "/v3/status-pages/{statusPageId}/automation-rules/{ruleId}"
tags: ["Status Pages V3 Automation Rules"]
---

# Update an automation rule of a v3 status page.

`PUT /v3/status-pages/{statusPageId}/automation-rules/{ruleId}`

## Request

- Base URL: `https://api.checklyhq.com`
- URL: `https://api.checklyhq.com/v3/status-pages/{statusPageId}/automation-rules/{ruleId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/checklyhq/apis/checkly-public-api/docs/v3/status-pages/:statusPageId/automation-rules/:ruleId/put.ts> (a function with typed inputs; its response is checked against the schema)

Update an automation rule. The component list is replaced as a whole.

## Path parameters

- `statusPageId` string, required
- `ruleId` string, required

## Headers

- `x-checkly-account` string: Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general

## Request body

- PublicStatusPageV3AutomationRuleMutation
  - `name` string, required
  - `enabled` boolean: A disabled rule never opens incidents.
  - `firstUpdate` string, required: Body of the status update that opens the incident.
  - `lastUpdate` string, required: Body of the status update that resolves the incident.
  - `notifySubscribers` boolean
  - `coolDownWindowMinutes` integer: Minimum minutes after an automated incident before this rule may open the next one. 0 disables it.
  - `tags` string[], required: A failing check matches when it, or its group, carries ANY of these tags.
  - `components` PublicStatusPageV3AutomationRuleComponent[]
    - `componentId` string, required
    - `targetImpact` 'UNDER_MAINTENANCE' | 'DEGRADED_PERFORMANCE' | 'PARTIAL_OUTAGE' | 'MAJOR_OUTAGE', required

## Response `200`

Successful

- PublicStatusPageV3AutomationRule
  - `name` string, required
  - `enabled` boolean: A disabled rule never opens incidents.
  - `firstUpdate` string, required: Body of the status update that opens the incident.
  - `lastUpdate` string, required: Body of the status update that resolves the incident.
  - `notifySubscribers` boolean
  - `coolDownWindowMinutes` integer: Minimum minutes after an automated incident before this rule may open the next one. 0 disables it.
  - `tags` string[], required: A failing check matches when it, or its group, carries ANY of these tags.
  - `id` string, required
  - `statusPageId` string, required
  - `incidentId` string, nullable
  - `components` PublicStatusPageV3AutomationRuleComponentResponse[], required
    - `componentId` string, required
    - `targetImpact` 'UNDER_MAINTENANCE' | 'DEGRADED_PERFORMANCE' | 'PARTIAL_OUTAGE' | 'MAJOR_OUTAGE', required
    - `id` string, required
  - `created_at` string, date, required
  - `updated_at` string, date, nullable

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests

## Changes

- **2026-10-31** `bc90d1bfa738`: 1 info
  - added the optional property `errorCode` to the response with the `403` status
- **2026-10-07** `aba5d34c749b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/checklyhq/apis/checkly-public-api/changes/v3/status-pages/:statusPageId/automation-rules/:ruleId/put.md)

---

[API](https://skmtc.dev/checklyhq/apis/checkly-public-api.md) - [All operations](https://skmtc.dev/checklyhq/apis/checkly-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/checklyhq/apis/checkly-public-api/revisions/bc90d1bfa738?raw)
