Skip to main content

Remove User Role

This command is a helper for user administration. Sometimes it's needed to manually take a user a role.

How it works

If an email and role are given in the command arguments then it'll just instantly change the password. If one of these is missing it will provide a prompt to provide this information.

How to run

The following command can be used to execute the command.

bin/console parthenon:user:remove-role

or

bin/console parthenon:user:remove-role <email> <role>

Options

| Name | Default | Description | | email | null | The email of the user whose password you want to change | | role | null | The role to be removed |

Note

This functionality is provided by our sister product Parthenon.