deleteEmailTemplate method

Future<ClientResponse<void, Errors>> deleteEmailTemplate(
  1. String emailTemplateId
)

Deletes the email template for the given Id.

@param {String} emailTemplateId The Id of the email template to delete. @returns {Promise<ClientResponse

Implementation

Future<ClientResponse<void, Errors>> deleteEmailTemplate(
    String emailTemplateId) {
  return _start<void, Errors>()
      .withUri('/api/email/template')
      .withUriSegment(emailTemplateId)
      .withMethod('DELETE')
      .go();
}