Method: Teleflow::Api::NotificationTemplates#delete_notification_template

Defined in:
lib/teleflow/api/notification_templates.rb

#delete_notification_template(template_id) ⇒ number

Execute a soft delete of a notification template given a certain ID.

@pathparams:

Parameters:

  • `template_id` (String)

    The ID of the template to delete.

Returns:

  • (number)

    status

    • Returns 200 if the notification template has been deleted correctly.



73
74
75
# File 'lib/teleflow/api/notification_templates.rb', line 73

def delete_notification_template(template_id)
  delete("/notification-templates/#{template_id}")
end