drush user:cancelfor drush 9x
Cancel user account(s) with the specified name(s).
user:cancel has 2 alias/es:
user:cancel accepts 1 argument/s:
names* : A comma delimited list of user names.
user:cancel accepts 4 option/s:
--delete-content : delete-content
--notify : notify
--druplicon : druplicon
--xh-link : xh-link
Cancel the user account with the name username and anonymize all content created by that user.
drush user:cancel username
Cancel the user account with the name username and delete all content created by that user.
drush user:cancel --delete-content username
comments powered by Disqus