Skip to content

Commit d57c181

Browse files
ericpaulsenbpmct
andauthored
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>
1 parent 3ded910 commit d57c181

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

docs/images/delete-template.png

42.8 KB
Loading

docs/templates.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,28 @@ resource "kubernetes_pod" "podName" {
223223
}
224224
```
225225

226+
### Delete templates
227+
228+
<<<<<<< HEAD
229+
You can delete a template using both the coder CLI and UI. Only
230+
[template admins and owners](./admin/users.md) can delete a template, and the template
231+
must not have any running workspaces associated to it.
232+
=======
233+
You can delete a template using both the Coder CLI and UI. Only
234+
[template admins and owners](./admin/users.md) can delete a template.
235+
>>>>>>> 0407c2294c5c7321071c17013f2e39bd70568165
236+
237+
Using the CLI, login to Coder and run the following command to delete a template:
238+
239+
```console
240+
coder templates delete <template-name>
241+
```
242+
243+
In the UI, navigate to the template you want to delete, and select the dropdown in
244+
the right-hand corner of the page to delete the template.
245+
246+
![delete-template](./images/delete-template.png)
247+
226248
#### Delete workspaces
227249

228250
When a workspace is deleted, the Coder server essentially runs a

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy