Update an alert rule
PATCH /v1/projects/{id}/alerts/{alertId}
Partially updates an alert rule. All fields are optional. To reactivate
a deactivated rule, set isActive: true (subject to plan quota).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Project UUID.
Alert rule UUID.
Request Body required
Section titled “Request Body required ”Partial update for an alert rule. All fields are optional.
object
Set to true to reactivate (subject to plan quota) or false to deactivate.
Responses
Section titled “ Responses ”Alert rule updated.
object
Full alert rule including timestamps and channel IDs.
object
Invalid request parameters or body.
object
Human-readable error message.
Missing or invalid API key.
object
Human-readable error message.
Plan limit reached (e.g., reactivating when at max rules).
object
Human-readable error message.
Resource not found.
object
Human-readable error message.
Rate limit exceeded.
object
Human-readable error message.
Headers
Section titled “Headers ”Maximum number of requests allowed per hour.
Number of requests remaining in the current window.
Unix timestamp when the rate limit window resets.