Alert Rule

Update an alert rule for a specific organization.

post/org/{orgId}/alert-rule/{alertRuleId}

Request

  • Base URL: https://api.pangolin.net/v1
  • URL: https://api.pangolin.net/v1/org/{orgId}/alert-rule/{alertRuleId}
  • Auth: HTTP bearer

Path parameters

orgIdstring required
alertRuleIdnumber nullable

Request body

namestring
eventType'health_check_healthy' | 'health_check_unhealthy' | 'health_check_toggle' | 'site_online' | 'site_offline' | 'site_toggle' | 'resource_healthy' | 'resource_unhealthy' | 'resource_degraded' | 'resource_toggle'
enabledboolean
cooldownSecondsinteger
siteIdsinteger[]
allSitesboolean
healthCheckIdsinteger[]
allHealthChecksboolean
resourceIdsinteger[]
allResourcesboolean
userIdsstring[]
roleIdsnumber[]
emailsstring[]

Response

Successful response

successboolean required
errorboolean required
messagestring required
statusnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.