# coder organizations edit

Edit organization settings.

## Usage

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

## 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

### --default-org-member-roles

| Property | Value                     |
| -------- | ------------------------- |
| 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

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

Bypass confirmation prompts.

### -O, --org

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

Select which organization (uuid or name) to use.
