Disabled User Cache in Keycloak

Hi, Im having an issue with Keycloaks cache, when i update a users email in my database and test the 2FA flow via email, i see that Keycloak is still using the old cached email.

would like to know if there is a way to disable the user cache in Keycloak 25.0.1 via configuration (such as in keycloak.conf), as I’d prefer not to restart Keycloak or clear the cache manually with a POST to http://localhost:8080/admin/realms/master/clear-realm-cache

y have tried adding this to Keycloak.conf:

user-cache-enabled=false , but it didnt work!

Any suggestions would be appreciated!

Disabling the cache is not a good idea as it is here for performance reasons. Disabling the cache is AFAIK also not possible.
Manipulating data directly in the DB is also not a good idea and always the last thing you want to do. The admin API is here for manipulating/managing the data.