Notification Rules
- Notification Rules are simple YAML configurations that dictate how PagerTree notifies Account Users regarding Alerts.
- Notification Rules must be assigned to the Account User object.
Property | Type | Description |
---|---|---|
name | string | The name of the notification rule. |
enabled | boolean | Boolean indicating if this notification rule is currently enabled. If false, it will just notify users via their default notification channels. |
rules | string |
POST https://api.pagertree.com/api/v4/notification_rules
def notification_rule_params
params.permit(
:name,
:enabled,
:rules
)
end
- name
GET https://api.pagertree.com/api/v4/notification_rules/:id
PUT https://api.pagertree.com/api/v4/notification_rules/:id
DELETE https://api.pagertree.com/api/v4/notification_rules/:id
GET https://api.pagertree.com/api/v4/notification_rules
Last modified 9mo ago