CentraSite 10.7 | CentraSite User’s Guide | Policy Management | Configuring Email Notifications | Using Email Templates with Policy Actions | Managing Email Templates through Command Line | Deleting an Email Template
 
Deleting an Email Template
Pre-requisites:
To delete an email template through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named ConfigEmailTemplates for this purpose.
*To delete an email template
*Run the command ConfigEmailTemplates.
The syntax is of the format C:\SoftwareAG\CentraSite\utilities>ConfigEmailTemplates.cmd -dbuser <USERNAME> -dbpassword <PASSWORD> [-dburl <CENTRASITE-URL>] -delete <EMAIL-TEMPLATE>
The input parameters are:
Parameter
Description
-dburl
(Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
-dbuser
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
-dbpassword
The password for the registered CentraSite user identified by the parameter -dbuser.
-delete
Name of an email template you want to delete. If the template name contains white spaces, enclose the name with "".
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>ConfigEmailTemplates.cmd -dburl http://localhost:53307/CentraSite/CentraSite –dbuser Administrator –dbpassword manage -delete CustomPendingNotification.html