Update Alert Plugin
Before updating a notification plugin, the plugin should be disabled. During the update process
if there are any untrusted certificates returned by the server the patchAlertPlugin call should be made.
Once the update is successfully completed, use modifyAlertPluginState
API to enable the plugin.
The NotificationPlugin to create, including plugin type and configuration details
Show optional properties
{
"pluginTypeId": "string",
"name": "string"
}
"{\n \"pluginTypeId\" : \"StandardEmailPlugin\",\n \"pluginId\" : \"18589dea-9999-1234-abba-f1ee73004dac\",\n \"name\" : \"Notification Plugin Updated Sample\",\n \"description\" : \"Where to notify Example\",\n \"version\" : 140592123,\n \"configValues\" : [ {\n \"name\" : \"IS_SECURE_CONNECTION\",\n \"value\" : \"true\"\n }, {\n \"name\" : \"SMTP_HOST\",\n \"value\" : \"10.118.48.101\"\n }, {\n \"name\" : \"SMTP_PORT\",\n \"value\" : \"25\"\n }, {\n \"name\" : \"senderEmailAddress\",\n \"value\" : \"[email protected]\"\n }, {\n \"name\" : \"senderName\",\n \"value\" : \"Somebody\"\n } ]\n}"
The plugin type identifier
The Plugin Id, cannot be null during update operations
The name for the configuration
The description for the configuration
A read-only property whose value is set by the system
The list of name value pairs for Plugin configuration
Any set of untrusted certificates returned by the adapter source
The updated Notification Plugin Instance
"{\n \"pluginTypeId\" : \"StandardEmailPlugin\",\n \"pluginId\" : \"18589dea-9999-1234-abba-f1ee73004dac\",\n \"name\" : \"Notification Plugin Updated Sample\",\n \"description\" : \"Where to notify Example\",\n \"version\" : 140592123,\n \"configValues\" : [ {\n \"name\" : \"IS_SECURE_CONNECTION\",\n \"value\" : \"true\"\n }, {\n \"name\" : \"SMTP_HOST\",\n \"value\" : \"10.118.48.101\"\n }, {\n \"name\" : \"SMTP_PORT\",\n \"value\" : \"25\"\n }, {\n \"name\" : \"senderEmailAddress\",\n \"value\" : \"[email protected]\"\n }, {\n \"name\" : \"senderName\",\n \"value\" : \"Somebody\"\n } ]\n}"
The plugin type identifier
The Plugin Id, cannot be null during update operations
The name for the configuration
The description for the configuration
A read-only property whose value is set by the system
The list of name value pairs for Plugin configuration
Any set of untrusted certificates returned by the adapter source
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","pluginTypeId:"string"}' https://{api_host}/suite-api/api/alertplugins