# Delete users from Keycloak which not exist in the LDAP Federation anymore

**URL:** <https://forum.keycloak.org/t/delete-users-from-keycloak-which-not-exist-in-the-ldap-federation-anymore/10724>\
**Category:** Miscellanaeous\
**Created:** [August 27, 2021, 8:19am UTC](https://forum.keycloak.org/t/delete-users-from-keycloak-which-not-exist-in-the-ldap-federation-anymore/10724 "2021-08-27T08:19:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![valeriy.navozenko](https://avatars.discourse-cdn.com/v4/letter/v/50afbb/32.png) [@valeriy.navozenko](https://forum.keycloak.org/u/valeriy.navozenko)\
**Post date:** [August 27, 2021, 8:19am UTC](https://forum.keycloak.org/t/delete-users-from-keycloak-which-not-exist-in-the-ldap-federation-anymore/10724/1 "2021-08-27T08:19:09Z")

</div>

Hi

we have a few LDAP federations integrated into the Keycloak(version 11). LDAPs manage by different departments and operations like user delete or username update are quite often. But as I can see, such types of users(deleted users or username has been changed) still exist in the Keycloak.

Is it possible to delete users from Keycloak which not exist in the federation anymore during synchronization or some other process(or maybe call admin client etc) and how I can do that?

Thank you for your help!
