Skip to content
Coder Docs

coder organizations edit

Edit organization settings.

On this page

Edit organization settings.

Usage

coder organizations edit [flags]

Description

  - Replace the roles every member of the organization holds:

     $ coder organizations edit --default-org-member-roles organization-workspace-access,agents-access,organization-template-admin

  - Restrict Coder Agents to members assigned agents-access directly:

     $ coder organizations edit --default-org-member-roles organization-workspace-access

  - Grant members no roles at all:

     $ coder organizations edit --default-org-member-roles ""

Options

--default-org-member-roles

Typestring-array

Replaces the roles every member of the organization holds. Accepts a comma-separated list and may be repeated. An empty value removes every role. New organizations start with organization-workspace-access, which grants members access to their own workspaces, and agents-access, which grants members access to Coder Agents.

-y, --yes

Typebool

Bypass confirmation prompts.

-O, --org

Typestring
Environment$CODER_ORGANIZATION

Select which organization (uuid or name) to use.