6 Replies Latest reply on Apr 10, 2017 2:27 PM by Grégoire Michel

    Programatically break an email from a template?

      We are looking to sync emails directly via the API, but template is a required field.


      In my head, I have the following kludge in mind:

      1. Create Template, return template ID
      2. Approve Template
      3. Create Email from Template
      4. Approve Email
      5. Unapprove Template
      6. Delete Template

       

      The problem is that a template cannot be deleted while there are emails attached to it. By editing the code of an email outside of editable elements in the Marketo UI, it breaks it from the template. Is there a way to do this programatically? I don't want to fill up instances with 1:1 Templates to Emails.

       

      David Everly