• Delete message template handler

    Parameters

    • notificationService: NotificationDataService

      injected service use to handle the notification related operations

      • deleteOneMessageTemplate
    • logger: Logger

      injected logger used to handle the logging

    • context: AdapterHandlerContext

      request context [headers, body, params, query].

    Returns Promise<adapter.AdapterHandlerResponse>

    204 Status No Content

    Description

    This handler will delete message template by applying the following steps in sequence:

    1. Delete message template (notificationService.deleteOneMessageTemplate)

    2. Return the message template

    Throws

    500 NBError Internal Server Error

    • delete message template failed

Generated using TypeDoc