Factory Default Setting

Hi All,

I want to remove all LDAP users and their associated data from Nextcloud. how to do this. my requirement is remove existing users and data and sync for fresh users.

any article please.

Thanks