Reference
Command Line
Home
/
Reference
/
Command Line
/
users edit-roles

users edit-roles

Edit a user's roles by username or id

Usage

coder users edit-roles [flags] <username|user_id>

Options

-y, --yes

Typebool

Bypass prompts.

--roles

Typestring-array

A list of roles to give to the user. This removes any existing roles the user may have. The available roles are: auditor, member, owner, template-admin, user-admin.

See an opportunity to improve our docs? Make an edit.
On this page