Edit on GitHub
Jump to docs navigation

Nut command / User Roles / role:remove

Note: You are currently reading the documentation for Bolt 3.7. Looking for the documentation for Bolt 5.2 instead?

Nut's role:remove command removes a given role from a user's Bolt account.

Usage

    php ./app/nut role:remove <username> <role>

Arguments

Argument Description
username The username (login name) you wish to remove a role from
role The role you wish to remove

Example

Removing a user's 'editor' role

$ php ./app/nut role:remove kenny editor

User 'kenny' no longer has role 'editor'.


Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.