@ Transactional @ DeleteMapping ( "/{entityTypeId}/{id}" ) @ ResponseStatus ( NO_CONTENT ) public void deleteDelete ( @ PathVariable ( "entityTypeId" ) String entityTypeId , @ PathVariable ( "id" ) String untypedId ) { delete ( entityTypeId , untypedId ) ; }
Deletes an entity by it s id