Update a notification rule
PUT
/v1/notificationrule/{id}/
Replace all fields of an existing notification rule.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
A UUID string identifying this notification rule.
Request Body
Section titled “Request Body ”A ModelSerializer that takes an additional fields argument that
controls which fields should be displayed.
object
agent
string format: uuid
agent_offline
boolean
agent_tag
string
contacts_groups
Array<string>
created_at
required
string format: date-time
created_by
required
string format: uuid
custom_grace_period
Custom grace period in seconds
integer
enabled
boolean
id
required
string format: uuid
metric_item
string
metric_label
string
metric_labels_text
string
metric_display_name
required
string
modified_at
required
string format: date-time
modified_by
required
string format: uuid
name
string
recording_rule
string format: uuid
repeatable_delay
Delay in minutes to repeat notification
integer
server_group
string format: uuid
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
agent_offline
boolean
agent_tag
string
contacts_groups
Array<string>
created_at
required
string format: date-time
created_by
required
string format: uuid
custom_grace_period
Custom grace period in seconds
integer
enabled
boolean
id
required
string format: uuid
metric_item
string
metric_label
string
metric_labels_text
string
metric_display_name
required
string
modified_at
required
string format: date-time
modified_by
required
string format: uuid
name
string
recording_rule
string format: uuid
repeatable_delay
Delay in minutes to repeat notification
integer
server_group
string format: uuid
targets
Array<string>
on_call_schedules
Array<string>
Responses
Section titled “ Responses ”A ModelSerializer that takes an additional fields argument that
controls which fields should be displayed.
object
agent
string format: uuid
agent_offline
boolean
agent_tag
string
contacts_groups
Array<string>
created_at
required
string format: date-time
created_by
required
string format: uuid
custom_grace_period
Custom grace period in seconds
integer
enabled
boolean
id
required
string format: uuid
metric_item
string
metric_label
string
metric_labels_text
string
metric_display_name
required
string
modified_at
required
string format: date-time
modified_by
required
string format: uuid
name
string
recording_rule
string format: uuid
repeatable_delay
Delay in minutes to repeat notification
integer
server_group
string format: uuid
targets
Array<string>
on_call_schedules
Array<string>