Setting admin events expiration via API

64 views
Skip to first unread message

Marco Scheibe

unread,
Jun 13, 2024, 4:14:41 PMJun 13
to keyclo...@googlegroups.com
Hi everyone,

I am using the admin api for activating the user and admin events in a realm. I want to to set expiration time to 30 days for both.

For the activation of these events there are two separate methods setAdminEventsEnabled and setEventsEnabled. But there is only one method to set the expiration (setEventsExpiration), which has only an effect (as i would expect) for the user events not the admin events.

How can i set the expiration of the admin events? Or do i miss a point here?

I am currently using Keycloak 23.0.6

Thanks for your help,
Marco
Reply all
Reply to author
Forward
0 new messages