diff --git a/README.delete-user b/README.delete-user new file mode 100644 index 0000000..f47f5ee --- /dev/null +++ b/README.delete-user @@ -0,0 +1,26 @@ +# --- +# Delete User +# --- + +# see: https://docs.mattermost.com/manage/command-line-tools.html#mattermost-user-delete + + +# There are two levels in user deactivation/deletion: +# +# The first one is user deactivation which is what you performed. After deactivating a user, +# that user becomes archived and you can still search him/her and read their messages in +# channels. +# +# The second is user deletion. You can do this via a CLI command. Note that when you permanently +# delete a user, all their posts and past activities will get permanently deleted. + + +# Permanently delete a user and all related information, including posts from the database. +# +# mattermost user delete +# +# Note: +# Does not delete content from the file storage. You can manually delete all file uploads +# for a given user as uploads contain the CreatorId field. User profile pictures are stored +# in data/users//profile.png. +