services/src/main/java/org/keycloak/services/resources/admin/RealmAdminResource.java
/**
     * Update the events provider
     *
     * Change the events provider and/or its configuration
     *
     * @param rep
     */
Update the events provider
Change the events provider and/or its configuration

@param rep
Update the events provider Change the events provider and / or its configuration @param rep
@PUT
    @Path("events/config")
    @Consumes(MediaType.APPLICATION_JSON)
    public void updateRealmEventsConfig(final RealmEventsConfigRepresentation rep) {
        auth.init(RealmAuth.Resource.EVENTS).requireManage();
        logger.debug("updating realm events config: " + realm.getName());
        new RealmManager(session).updateRealmEventsConfig(rep, realm);
    }
@ PUT @ Path ( "events/config" ) @ Consumes ( MediaType . APPLICATION_JSON ) public void updateRealmEventsConfig ( final RealmEventsConfigRepresentation rep ) { auth . init ( RealmAuth . Resource . EVENTS ) . requireManage ( ) ; logger . debug ( "updating realm events config: " + realm . getName ( ) ) ; new RealmManager ( session ) . updateRealmEventsConfig ( rep , realm ) ; }
Update the events provider
 Change the events provider and/or its configuration
Update the events provider Change the events provider and / or its configuration