drush user:role:removefor drush 9x


Remove a role from the specified user accounts.

drush user:role:remove

  • Aliases


    user:role:remove has 2 alias/es:


    drush urrol

    drush user-remove-role

  • Arguments


    user:role:remove accepts 2 argument/s:


    role* : The name of the role to add

    names* : A comma delimited list of user names.

  • Options


    user:role:remove accepts 3 option/s:


    --notify

    --notify : notify

    --druplicon

    --druplicon : druplicon

    --xh-link

    --xh-link : xh-link

  • Examples


    Remove the "power user" role from user3

    drush user:remove-role "power user" user3

  • Comments


    comments powered by Disqus