Skip to content
Skip to Content
Coder Docs

coder organizations roles update

Update an organization custom role.

On this page

Update an organization custom role

Usage

Usage
coder organizations roles update [flags] <role_name>

Description

Description
  - Run with an input.json file:

     $ coder roles update --stdin < role.json

Options

Options

-y, --yes

-y, --yes
PropertyValue
Typebool

Bypass confirmation prompts.

--dry-run

--dry-run
PropertyValue
Typebool

Does all the work, but does not submit the final updated role.

--stdin

--stdin
PropertyValue
Typebool

Reads stdin for the json role definition to upload.

-c, --column

-c, --column
PropertyValue
Type[name|display name|organization id|site permissions|organization permissions|user permissions]
Defaultname,display name,site permissions,organization permissions,user permissions

Columns to display in table output.

-o, --output

-o, --output
PropertyValue
Typetable|json
Defaulttable

Output format.