delete template

This block is part of the mssgs mail group and was last modified in core v15.0.1.

delete template v15.0.1

Deletes a template from mssgs mail.

In pins 2 + flow
  • flow
    flow
  • connection required
    mssgsmailconnection
  • template alias required
    value

    The alias the template was saved under.

Out pins 4 + flow
  • flow
    flow
  • connection
    mssgsmailconnection
  • success
    condition
  • error
    value

    The refusal as CODE: message, e.g. RECIPIENT_SUPPRESSED, DOMAIN_CEILING, INVALID_FROM, INVALID_API_KEY. Empty on success.

  • response
    object

DELETE email/templates/:alias for the API key's domain. error TEMPLATE_NOT_FOUND when there is none. A send naming the alias afterwards fails with TEMPLATE_NOT_FOUND. Suppressed in a simulation.

mssgsmail
mssgs mail
email
template

A typical wiring for delete template: a function trigger starts the flow; open connection feeds the connection pin; value feeds the alias pin; the flow out pin feeds debug.

Studio canvas example for the delete template block: typical wiring for delete template.

Version history

Introduced in v15.0.1.


Back to mssgs mail Return to the main group to view all sub-groups Back to mssgs mail Return to the group to view all blocks within this group