Delete Template

SparkPost is an online email delivery service provider for developers and businesses.This activity lets you delete an existing template from your SparkPost account. To do this, add this activity to the canvas and configure it. Select the appropriate connection for SparkPost from the drop-down list. If you haven’t created a connection yet, select ‘Add New’ to create one. 

Field data

Template ID (Mandatory): In the 'Template ID’ field, you need to select/specify the name/ID of the template that you wish to delete. Clicking the ‘Refresh’ icon will fetch the list of all templates from your SparkPost account—based on the connection selected—and display it in the drop-down list. 

In case there are too many templates, you can search the required one by its ‘name’ or ‘ID’. Alternatively, you can manually enter the name or ID of the template that you wish to delete or use the output of the previous activity as an input for this field.

delete-template

Once you have entered the details, click on 'Done' and 'Run' the flow. This will delete the specified template from your SparkPost account. 

Refer to SparkPost API documentation for more information: https://developers.sparkpost.com/api/templates#templates-delete-delete



Output:
  • output-arrow sparkpost Delete Template
    • left-triangle message string