user:delete

Supprime des utilisateurs de l'application

Utilisation:

drupal user:delete  [options]
ud

Options disponibles

OptionDétails

--user

User name/id to be deleted

--roles

Rôles associés aux utilisateurs à supprimer

Exemples

Delete user specifying the id and the user role

drupal user:delete  \
  --user-id="2"
  --roles='authenticated'

Delete user specifying its id

drupal user:delete  \
  --user-id="3"

Delete users with the role "authenticated"

drupal user:delete  \
  --role="authenticated"