Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Delete an email notification template.

Package Details

Interface

IEmailNotificationManager

Syntax

Task DeleteNotification(string templateName);

Returns

Task

API Endpoint

DELETE

/api/v1/notification-template/{templateName}

Parameters

Parameter

Description

Parameter Type

templateName

Name of the template to be deleted

Path

Returns

200 OK - When successful

400 Bad Request - Unable to delete the template

Example

Code Block
languagec#
const string templateName = "your template name";
await emailNotificationManager.DeleteNotification(templateName);