@PostMapping(value = "/{entityTypeId}", params = "_method=DELETE")
  @ResponseStatus(NO_CONTENT)
  public void deleteAllPost(@PathVariable("entityTypeId") String entityTypeId) {
    dataService.deleteAll(entityTypeId);
  }
@ PostMapping ( value = "/{entityTypeId}" , params = "_method=DELETE" ) @ ResponseStatus ( NO_CONTENT ) public void deleteAllPost ( @ PathVariable ( "entityTypeId" ) String entityTypeId ) { dataService . deleteAll ( entityTypeId ) ; }
Deletes all entities for the given entity name but tunnels DELETE through POST