54 lines
1.3 KiB
Markdown
54 lines
1.3 KiB
Markdown
---
|
|||
|
|
# Code generated by make gen. DO NOT EDIT.
|
||
|
|
title: organizations edit
|
||
|
|
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:
|
||
|
|
|
||
|
|
$ coder organizations edit --default-org-member-roles organization-workspace-access,organization-template-admin
|
||
|
|
|
||
|
|
- Grant members no roles at all:
|
||
|
|
|
||
|
|
$ coder organizations edit --default-org-member-roles ""
|
||
|
|
```
|
||
|
|
|
||
|
|
## Options
|
||
|
|
|
||
|
|
### --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.
|
||
|
|
|
||
|
|
### -y, --yes
|
||
|
|
|
||
|
|
| | |
|
||
|
|
|------|-------------------|
|
||
|
|
| Type | <code>bool</code> |
|
||
|
|
|
||
|
|
Bypass confirmation prompts.
|
||
|
|
|
||
|
|
### -O, --org
|
||
|
|
|
||
|
|
| | |
|
||
|
|
|-------------|----------------------------------|
|
||
|
|
| Type | <code>string</code> |
|
||
|
|
| Environment | <code>$CODER_ORGANIZATION</code> |
|
||
|
|
|
||
|
|
Select which organization (uuid or name) to use.
|