Prevent user deletion

Hi All,

We want to prevent admin users from deleting any other users, Please let me know how to achieve this.

Thanks in advance!

Thanks,

Sreehari

I don‘t know of a distinct admin API role/permission to prevent deletions. Admins who are able to manage users (role „manage-users“) are able to manage users completely, including deletions.

1 Like

Thanks a ton @dasniko ! Could you tell me if there are any ways to prevent deletions may be by using custom SPI, etc?

Also, is it possible to mark a Keycloak user to be prevented from deletion?

Thanks in advance!

No, and I repeat myself:

Thanks a lot @dasniko !

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.