drush user:cancelfor drush 9x


Cancel user account(s) with the specified name(s).

drush user:cancel

  • Aliases


    user:cancel has 2 alias/es:


    drush ucan

    drush user-cancel

  • Arguments


    user:cancel accepts 1 argument/s:


    names* : A comma delimited list of user names.

  • Options


    user:cancel accepts 4 option/s:


    --delete-content

    --delete-content : delete-content

    --notify

    --notify : notify

    --druplicon

    --druplicon : druplicon

    --xh-link

    --xh-link : xh-link

  • Examples


    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


    comments powered by Disqus