Keycloak tip: using the delete account functionality in the legacy account console
Keycloak offers a delete account functionality that allows end users to delete their own acount. This functionality is only available for the account console v2 and can be activated by adding a delete-account client role to the user in question, and also by activating the Delete Account required action.