mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add organization delete command to cli (#21940)
The API endpoints existed for this already, so this PR just adds CLI functionality which uses those API endpoints. closes #21891 Generated with the help of Mux
This commit is contained in:
Generated
+1
@@ -21,6 +21,7 @@ coder organizations [flags] [subcommand]
|
||||
|------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [<code>show</code>](./organizations_show.md) | Show the organization. Using "selected" will show the selected organization from the "--org" flag. Using "me" will show all organizations you are a member of. |
|
||||
| [<code>create</code>](./organizations_create.md) | Create a new organization. |
|
||||
| [<code>delete</code>](./organizations_delete.md) | Delete an organization |
|
||||
| [<code>members</code>](./organizations_members.md) | Manage organization members |
|
||||
| [<code>roles</code>](./organizations_roles.md) | Manage organization roles. |
|
||||
| [<code>settings</code>](./organizations_settings.md) | Manage organization settings. |
|
||||
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
||||
# organizations delete
|
||||
|
||||
Delete an organization
|
||||
|
||||
Aliases:
|
||||
|
||||
* rm
|
||||
|
||||
## Usage
|
||||
|
||||
```console
|
||||
coder organizations delete [flags] <organization_name_or_id>
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
### -y, --yes
|
||||
|
||||
| | |
|
||||
|------|-------------------|
|
||||
| Type | <code>bool</code> |
|
||||
|
||||
Bypass confirmation prompts.
|
||||
Reference in New Issue
Block a user