Reference
Command Line
Home
/
Reference
/
Command Line
/
templates archive

templates archive

Archive unused or failed template versions from a given template(s)

Usage

coder templates archive [flags] [template-name...]

Options

-y, --yes

Typebool

Bypass prompts.

--all

Typebool

Include all unused template versions. By default, only failed template versions are archived.

-O, --org

Typestring
Environment$CODER_ORGANIZATION

Select which organization (uuid or name) to use.

See an opportunity to improve our docs? Make an edit.
On this page