mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Delete template docs (#4029)
* add: delete template docs * add: RBAC context * fix: caps Co-authored-by: Ben Potter <ben@coder.com> * add: deletion note Co-authored-by: Ben Potter <ben@coder.com>
This commit is contained in:
co-authored by
Ben Potter
parent
3ded910cca
commit
d57c181aad
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
@@ -223,6 +223,28 @@ resource "kubernetes_pod" "podName" {
|
||||
}
|
||||
```
|
||||
|
||||
### Delete templates
|
||||
|
||||
<<<<<<< HEAD
|
||||
You can delete a template using both the coder CLI and UI. Only
|
||||
[template admins and owners](./admin/users.md) can delete a template, and the template
|
||||
must not have any running workspaces associated to it.
|
||||
=======
|
||||
You can delete a template using both the Coder CLI and UI. Only
|
||||
[template admins and owners](./admin/users.md) can delete a template.
|
||||
>>>>>>> 0407c2294c5c7321071c17013f2e39bd70568165
|
||||
|
||||
Using the CLI, login to Coder and run the following command to delete a template:
|
||||
|
||||
```console
|
||||
coder templates delete <template-name>
|
||||
```
|
||||
|
||||
In the UI, navigate to the template you want to delete, and select the dropdown in
|
||||
the right-hand corner of the page to delete the template.
|
||||
|
||||

|
||||
|
||||
#### Delete workspaces
|
||||
|
||||
When a workspace is deleted, the Coder server essentially runs a
|
||||
|
||||
Reference in New Issue
Block a user