Nextcloud,owncloud

It will delete all files, setting aso that belongs to this user. If you don’t like to delete the user, you can disable it as well

ncc user:disable admin

But result might be same. I guess as long as the user is disabled, you maybe not able to access files of this user from WebInterface. Probably something you need to test.