@ PostMapping ( value = "/{entityTypeId}/{id}" , params = "_method=DELETE" ) @ ResponseStatus ( NO_CONTENT ) public void deletePost ( @ PathVariable ( "entityTypeId" ) String entityTypeId , @ PathVariable ( "id" ) String untypedId ) { delete ( entityTypeId , untypedId ) ; }
Deletes an entity by it s id but tunnels DELETE through POST