add-notification-preference
Adds preferences for the notification service.
add-notification-preference
[-c value | --configuration=value]
[-b value | --bootstrap-config=value]
<-s value | --source=value>
<-t value | --category=value>
[-e <true|false> | --enabled=<true|false>]
{-Avalue}
{-Lkey=value}
Overview
Use this command to add preferences for the notification service.
Options
Option | Optional or Required | Default Value | Description |
---|---|---|---|
|
Optional | configuration.xml | The path to the server configuration file. |
|
Optional | none | The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file. |
|
Required | none | The source of the notification preference, such as automation-services or scheduled-updates. This parameter is essential for categorizing notifications based on their source. |
|
Required | none | The types of notifications that the recipient will receive. Options include: all, failed, and successful. This allows for targeted notification delivery based on the category of the event. |
|
Optional | true | Whether the notification preference is active. This setting is important for enabling or disabling the notification preference. |
|
Optional | none | The email addresses to which notifications will be sent. By default, all specified addresses are included as 'bcc' in outgoing emails to ensure privacy and confidentiality. This argument can be specified multiple times with different values. |
|
Optional | none | The label key, which is incorporated into the HTTP notification's payload. This argument can be specified multiple times with different keys. |
Parent topic: Command-line reference