@DeleteMapping
    @Operation(summary = "Delete all CAS events in the event repository")
    public ResponseEntity deleteAllEvents() {
        eventRepository.getObject().removeAll();
        return ResponseEntity.ok().build();
    }
Delete all events response entity.

@return the response entity
core/cas-server-core-events-api/src/main/java/org/apereo/cas/support/events/web/CasEventsReportEndpoint.java