Skip to main content
HomeReferenceCommand Linetemplatescoder templates archive

coder templates archive

On this page

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

Usage

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

Options

-y, --yes

PropertyValue
Typebool

Bypass confirmation prompts.

--all

PropertyValue
Typebool

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

-O, --org

PropertyValue
Typestring
Environment$CODER_ORGANIZATION

Select which organization (uuid or name) to use.