Method: Teleflow::Api::NotificationTemplates#update_notification_template_status

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

#update_notification_template_status(template_id, body) ⇒ Hash, number

Update notification template status

@pathparams:

Parameters:

  • `template_id` (String)

    The ID of the template to update.

  • `active` (Boolean)

Returns:

  • (Hash)

    The updated notification template.

  • (number)

    status

    • Returns 200 if the notification template with the template_id provided has been updated correctly.



120
121
122
# File 'lib/teleflow/api/notification_templates.rb', line 120

def update_notification_template_status(template_id, body)
  put("/notification-templates/#{template_id}/status", body: body)
end