Notification Rule Update
PUT
https://api.deepinfo.com/v1/platform/notification-rules/{rule_id}Updates a notification rule's name, delivery time, members and enabled. scope and strategy cannot be changed.
Authentication
Send your API key in the apikey request header.
Path Parameters
| Parameter | Required | Description |
|---|---|---|
rule_ | Required | Id of the rule this folder manages, as the matching rule list or search endpoint returns it. Example 000000000000000e8e040001 |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Required | min length 1; max length 255 |
delivery_ | integer | Optional | min 0.0; max 23.0 |
delivery_ | integer | Optional | min 0.0; max 6.0 |
hourly_ | integer | Optional | min 0.0 |
daily_ | integer | Optional | min 0.0 |
empty_ | boolean | Optional | |
members | array | Required | min items 1 |
enabled | boolean | Required |
application/json
{
"name": "Critical issues",
"delivery_hour": 8,
"members": [
"00000000-0000-4000-8000-00006bb60001"
],
"enabled": true
}
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Id of the record; pass it to this folder's detail endpoint. |
name | string | The record's name. |
scope | string | One of new_, reappeared_, asset_, asset_, asset_ssl_changed, asset_, asset_dns_changed, domain_, domain_, new_, new_asset_added, new_, reappeared_, new_, new_, new_, new_, new_, new_, new_, new_ |
frequency | string | One of instant, hourly, daily, weekly, monthly |
delivery_ | integer | Hour of day the scheduled notification is sent (UTC), or null for instant rules. |
delivery_ | integer | Day of week the scheduled notification is sent (1 = Monday), or null. |
hourly_ | integer | |
daily_ | integer | |
empty_ | boolean | |
members | array of object | The team members the notification goes to. |
enabled | boolean | Whether the record is switched on. |
added_ | string | When the record was added (UTC). |
last_ | string | When the record was last changed (UTC). |
strategy | object | When the rule fires, as a range of the value it watches. |
Response Schema
| Field | Type | Example |
|---|---|---|
id | string | "000000000000000e8e040001" |
name | string | "Critical issues" |
scope | string | "new_asset_added" |
frequency | string | "daily" |
delivery_hour | number | 8 |
delivery_day_of_week | null | |
members | array< | |
members[]. | string | "00000000-0000-4000-8000-0000f3aa0001" |
members[]. | string | |
enabled | boolean | true |
added_date | string | "2025-06-01T08:00:00Z" |
last_update_date | string | "2025-07-01T08:00:00Z" |
strategy | null |
Examples
Selecting one loads it into the request and response panels.