HomeDocumentationAPI Reference
Log In
API Reference

Update notification

Change an existing event notification configuration.

Path Params
integer
required

Notification ID to replace.

Body Params
config
required
string
required

The Go text/template template to format the notification content.

string
required

Name of notification configuration.

string
enum
required

Event type for which this notification will fire.

Allowed:
string
enum
required

Method used to deliver event notification.

Allowed:
hosts_tags_include
array of strings | null
required

If present, only events that apply to the hosts that have the tag(s) will be sent by this notification.

hosts_tags_include*
string
enum
Defaults to and

If there are more than one hosts_tags_include tags, this operator controls the matching logic.

Allowed:
hosts_tags_exclude
array of strings | null
required

If present, events will NOT be sent for any hosts that have these tag(s). Exclude tags have priority over include tags.

hosts_tags_exclude*
string
enum
Defaults to and

If there are more than one hosts_tags_exclude tags, this operator controls the matching logic.

Allowed:
boolean
Defaults to true

Holds the active status of the notification.

Responses

Language
Credentials
Bearer
JWT
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json