Alert rules
Update an alert rule
Send only the fields to change. { "enabled": false } pauses a rule without touching its scope.
patch/v1/alert-rules/{id}
Request
- Base URL: https://api.upcheck.so
- URL: https://api.upcheck.so/v1/alert-rules/{id}
- Auth: HTTP bearer
Path parameters
idstring required
Example:9b1d...
Opaque identifier.
Request body
Example request
{
"name": "Certificate expiry",
"triggers": [
{
"type": "days",
"value": 14
},
{
"type": "on_expiration",
"value": 0
}
],
"channels": [
"email",
"slack"
],
"integrationIds": [
"9b1d..."
],
"emailListIds": [
"9b1d..."
],
"domainIds": [
"9b1d..."
]
}Response
The updated rule.
Example response
{
"id": "9b1d...",
"organizationId": "9b1d...",
"domainIds": [
"9b1d..."
],
"integrationIds": [
"9b1d..."
],
"emailListIds": [
"9b1d..."
]
}Changes
No recorded changes to this operation across all 1 revision of this API.