Skip to content

Partially update a notification rule

PATCH
/v1/notificationrule/{id}/

Update one or more fields of an existing notification rule.

id
required
string format: uuid

A UUID string identifying this notification rule.

A ModelSerializer that takes an additional fields argument that controls which fields should be displayed.

object
agent
string format: uuid
nullable
agent_offline
boolean
agent_tag
string
nullable
contacts_groups
Array<string>
created_at
string format: date-time
created_by
string format: uuid
nullable
custom_grace_period

Custom grace period in seconds

integer
nullable <= 300
enabled
boolean
id
string format: uuid
metric_item
string
nullable
metric_label
string
nullable <= 100 characters
metric_labels_text
string
nullable
metric_display_name
string
modified_at
string format: date-time
modified_by
string format: uuid
nullable
name
string
<= 100 characters
recording_rule
string format: uuid
nullable
repeatable_delay

Delay in minutes to repeat notification

integer
<= 2147483647
server_group
string format: uuid
nullable
targets
Array<string>
on_call_schedules
Array<string>

A ModelSerializer that takes an additional fields argument that controls which fields should be displayed.

object
agent
string format: uuid
nullable
agent_offline
boolean
agent_tag
string
nullable
contacts_groups
Array<string>
created_at
required
string format: date-time
created_by
required
string format: uuid
nullable
custom_grace_period

Custom grace period in seconds

integer
nullable <= 300
enabled
boolean
id
required
string format: uuid
metric_item
string
nullable
metric_label
string
nullable <= 100 characters
metric_labels_text
string
nullable
metric_display_name
required
string
modified_at
required
string format: date-time
modified_by
required
string format: uuid
nullable
name
string
<= 100 characters
recording_rule
string format: uuid
nullable
repeatable_delay

Delay in minutes to repeat notification

integer
<= 2147483647
server_group
string format: uuid
nullable
targets
Array<string>
on_call_schedules
Array<string>