# templates archive Archive unused or failed template versions from a given template(s) ## Usage ```console coder templates archive [flags] [template-name...] ``` ## Options ### --all | | | | ---- | ----------------- | | Type | bool | Include all unused template versions. By default, only failed template versions are archived. ### -y, --yes | | | | ---- | ----------------- | | Type | bool | Bypass prompts.