coder users edit-roles
Edit a user's roles by username or id.
On this page
Edit a user's roles by username or id
Usage
Usagecoder users edit-roles [flags] <username|user_id>Description
Description - --roles replaces the user's full set of site roles; any role not listed is
removed:
$ coder users edit-roles example_user --roles owner user-adminOptions
Options-y, --yes
-y, --yes| Property | Value |
|---|---|
| Type | bool |
Bypass confirmation prompts.
--roles
--roles| Property | Value |
|---|---|
| Type | string-array |
Replaces the user's full set of site roles with this list. Any existing role not included here is removed.