Files
coder/docs/reference/cli/delete.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
812 B
Markdown
Raw Normal View History

---
# Code generated by make gen. DO NOT EDIT.
title: "`coder delete`"
description: Delete a workspace.
---
2023-03-23 17:42:20 -05:00
<!-- DO NOT EDIT | GENERATED CONTENT -->
Delete a workspace
Aliases:
* rm
2023-03-23 17:42:20 -05:00
## Usage
```console
coder delete [flags] <workspace>
```
## Description
```console
- Delete a workspace for another user (if you have permission):
$ coder delete <username>/<workspace_name>
```
2023-03-23 17:42:20 -05:00
## Options
### --orphan
| Property | Value |
|----------|-------------------|
| Type | <code>bool</code> |
2023-03-23 17:42:20 -05:00
Delete a workspace without deleting its resources. This can delete a workspace in a broken state, but may also lead to unaccounted cloud resources.
### -y, --yes
| Property | Value |
|----------|-------------------|
| Type | <code>bool</code> |
2023-03-23 17:42:20 -05:00
Bypass confirmation prompts.