Delete Alert Plugin
The field checkDependencies is added to preserve the initial behavior. By default it is set to false.
Case 1: When checkDependencies is false, the API has the following behavior:
Dependent Notification Rules are cascade deleted.
Dependent Report Schedules are unreferenced.
Dependent Tenant Email Configurations are always checked. If any then deletion is failed.
Case 2: When checkDependencies is true, the API has the following behavior:
All dependencies are checked. If any then deletion is failed.
To successfully delete the notification plugin, all conflicting dependencies must be removed.
The identifier of the plugin instance
Flag to check plugin dependencies
The notification plugin is deleted successfully
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/suite-api/api/alertplugins/{pluginId}