deleteEmailTemplateRenderErrorWithHttpInfo method
Performs an HTTP 'DELETE /api/v1/email-templates/{id}/render-errors/{errorId}' operation and returns the Response.
Parameters:
Implementation
Future<Response> deleteEmailTemplateRenderErrorWithHttpInfo(String tenantId, String id, String errorId) async {
// ignore: prefer_const_declarations
final path = r'/api/v1/email-templates/{id}/render-errors/{errorId}'
.replaceAll('{id}', id)
.replaceAll('{errorId}', errorId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'tenantId', tenantId));
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}