New
The Gartner Hype Cycle Emerging Technologies Report is out!

Download now

Home
/
Command line
/
Reference
/
coder workspaces
/
coder workspaces policy-template

coder workspaces policy-template

coder workspaces policy-template

Set workspace policy template

Synopsis

Set workspace policy template or restore to default configuration. This feature is for site admins only.

coder workspaces policy-template [flags]

Options

      --default           Restore policy template to default configuration
      --dry-run           skip setting policy template, but view errors/warnings about how this policy template would impact existing workspaces
  -f, --filepath string   full path to local policy template file.
  -h, --help              help for policy-template
      --scope string      scope of impact for the policy template. Supported values: site (default "site")

Options inherited from parent commands

  -v, --verbose   show verbose output

SEE ALSO

See an opportunity to improve our docs? Make an edit.