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
777 B
Markdown
Raw Normal View History

---
# Code generated by make gen. DO NOT EDIT.
title: 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
| | |
|------|-------------------|
2023-03-23 17:42:20 -05:00
| Type | <code>bool</code> |
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
| | |
|------|-------------------|
2023-03-23 17:42:20 -05:00
| Type | <code>bool</code> |
Bypass confirmation prompts.