mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
docs: document workspace naming rules and restrictions (#17312)
closes #12047 [preview](https://coder.com/docs/@12047-workspace-names/user-guides/workspace-management) --------- Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
This commit is contained in:
2
docs/reference/api/schemas.md
generated
2
docs/reference/api/schemas.md
generated
@ -1476,7 +1476,7 @@ None
|
||||
}
|
||||
```
|
||||
|
||||
CreateWorkspaceRequest provides options for creating a new workspace. Only one of TemplateID or TemplateVersionID can be specified, not both. If TemplateID is specified, the active version of the template will be used.
|
||||
CreateWorkspaceRequest provides options for creating a new workspace. Only one of TemplateID or TemplateVersionID can be specified, not both. If TemplateID is specified, the active version of the template will be used. Workspace names: - Must start with a letter or number - Can only contain letters, numbers, and hyphens - Cannot contain spaces or special characters - Cannot be named `new` or `create` - Must be unique within your workspaces - Maximum length of 32 characters
|
||||
|
||||
### Properties
|
||||
|
||||
|
@ -34,6 +34,17 @@ coder create --template="<templateName>" <workspaceName>
|
||||
coder show <workspace-name>
|
||||
```
|
||||
|
||||
### Workspace name rules and restrictions
|
||||
|
||||
| Constraint | Rule |
|
||||
|------------------|--------------------------------------------|
|
||||
| Start/end with | Must start and end with a letter or number |
|
||||
| Character types | Letters, numbers, and hyphens only |
|
||||
| Length | 1-32 characters |
|
||||
| Case sensitivity | Case-insensitive (lowercase recommended) |
|
||||
| Reserved names | Cannot use `new` or `create` |
|
||||
| Uniqueness | Must be unique within your workspaces |
|
||||
|
||||
## Workspace filtering
|
||||
|
||||
In the Coder UI, you can filter your workspaces using pre-defined filters or
|
||||
|
Reference in New Issue
Block a user