code: @DELETE
      @Path("{uuid}")
      @Produces(MediaType.APPLICATION_XML)
      public Response deleteTemplate(@PathParam("uuid") String uuid) {
          logger.debug("DELETE /templates/" + uuid);
  
          TemplateHelper templateRestService = getTemplateHelper();
          boolean deleted;
          try {
              deleted = templateRestService.deleteTemplateByUuid(uuid);
              if (deleted)
                  return buildResponse(
                          204,
                          printMessage(204, "The template with uuid:" + uuid
                                  + " was deleted successfully"));
              else
                  return buildResponse(
                          404,
                          printError(404, "There is no template with uuid " + uuid
                                  + " in the SLA Repository Database"));
              
          } catch (HelperException e) {
              // TODO Auto-generated catch block
              return buildResponse(e);
          }
      }
docs: Deletes a template given the corresponding template_id
  
  
  <pre>
  DELETE /templates/{template_id}
  
  
  Request:
  DELETE /templates HTTP/1.1
  
  Response:
  
  {@code
  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <message code="204" message="The template with uuid:contract-template-2007-12-04 was deleted successfully"/>
  }
  
  </pre>
  
  Example: <li>curl -X DELETE
  localhost:8080/sla-service/templates/contract-template-2007-12-04</li>
  
  @param id
  of the template
  @throws Exception