deleteTemplate method

Future<void> deleteTemplate(
  1. String templateId
)

Delete email template

Delete template

Parameters:

  • String templateId (required): Template ID

Implementation

Future<void> deleteTemplate(String templateId,) async {
  final response = await deleteTemplateWithHttpInfo(templateId,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}