class Account::Webhooks::Outgoing::DeliveriesController

def destroy

DELETE /account/webhooks/outgoing/deliveries/:id.json
DELETE /account/webhooks/outgoing/deliveries/:id
def destroy
  @delivery.destroy
  respond_to do |format|
    format.html { redirect_to [:account, @endpoint, :deliveries], notice: I18n.t("webhooks/outgoing/deliveries.notifications.destroyed") }
    format.json { head :no_content }
  end
end