# coder organizations edit

Edit organization settings.

## Usage [#usage]

```console
coder organizations edit [flags]
```

## Description [#description]

```console
  - 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 [#options]

### --default-org-member-roles [#--default-org-member-roles]

|      |                           |
| ---- | ------------------------- |
| Type | <code>string-array</code> |

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 [#-y---yes]

|      |                   |
| ---- | ----------------- |
| Type | <code>bool</code> |

Bypass confirmation prompts.

### -O, --org [#-o---org]

|             |                                   |
| ----------- | --------------------------------- |
| Type        | <code>string</code>               |
| Environment | <code>$CODER\_ORGANIZATION</code> |

Select which organization (uuid or name) to use.
