2026-08-24 09:41:21 -05:00
---
# Code generated by make gen. DO NOT EDIT.
2026-09-28 15:44:10 -04:00
title : "`coder organizations edit`"
2026-08-24 09:41:21 -05:00
description : Edit organization settings.
---
<!-- DO NOT EDIT | GENERATED CONTENT -->
Edit organization settings.
## Usage
```console
coder organizations edit [flags]
```
## Description
```console
- Replace the roles every member of the organization holds:
2026-09-27 23:34:26 +02:00
$ 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
2026-08-24 09:41:21 -05:00
- Grant members no roles at all:
$ coder organizations edit --default-org-member-roles ""
```
## Options
### --default-org-member-roles
2026-10-21 10:58:04 -07:00
| Property | Value |
|----------|---------------------------|
| Type | <code>string-array</code> |
2026-08-24 09:41:21 -05:00
2026-09-27 23:34:26 +02:00
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.
2026-08-24 09:41:21 -05:00
### -y, --yes
2026-10-21 10:58:04 -07:00
| Property | Value |
|----------|-------------------|
| Type | <code>bool</code> |
2026-08-24 09:41:21 -05:00
Bypass confirmation prompts.
### -O, --org
2026-10-21 10:58:04 -07:00
| Property | Value |
2026-08-24 09:41:21 -05:00
|-------------|----------------------------------|
| Type | <code>string</code> |
| Environment | <code>$CODER_ORGANIZATION</code> |
Select which organization (uuid or name) to use.