# workspaces

> Every coline workspaces command, with its flags and the action it runs.

Source: https://docs.coline.app/cli/reference/workspaces

{/* Generated by apps/docs/scripts/cli-reference.ts from coline's command tree and the cli action catalog. Don't edit it: run `pnpm --filter @colineapp/docs cli:reference`. */}

Every `coline workspaces` command, 3 in all.

## workspaces create

Creates a team workspace the person owns: tasks, docs, notes, sheets, mail, calendar and messages for a team or project. It starts a free 14-day trial with no card; if the person already used their trial, the result has a checkout link they open to pay. Use it when the person asks for a new workspace, or has only their personal one and wants to work with a team. Pass the returned slug as `workspace` to every other action.

```text
coline workspaces create [flags]
```

**Action** `workspaces.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                        | What it does                                                                                                                                    |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `--name <text>`             | Required.                                                                                                                                       |
| `--seat-count <number>`     | Seats to start with; a trial grows seats as people join. Default 1.                                                                             |
| `--billing-interval <text>` | Default month. One of `month`, `year`.                                                                                                          |
| `--plan-key <text>`         | Always the Team plan; the retired values workspace and workspace\_ai also start Team. Default team. One of `team`, `workspace`, `workspace_ai`. |
| `--trial`                   | Start the free trial (no card). False opens checkout. Default true.                                                                             |
| `--input <file>`            | Read the input as JSON from a file; - reads stdin.                                                                                              |

```bash
coline workspaces create --name "…"
coline workspaces create --json '{"name":"…"}' --fields id
```

## workspaces list

Lists the workspaces the person belongs to, with the slug every other Coline action takes as `workspace`, their default first. Use the default unless the person names another. A connection made for one workspace lists only that one.

It changes nothing.

```text
coline workspaces list [flags]
```

**Action** `workspaces.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `workspace.read` · **Workspace** no

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline workspaces list
coline workspaces list --json '{}' --fields id
```

## workspaces update

Renames a workspace or changes its description. Owners and admins only.

```text
coline workspaces update [flags]
```

**Action** `workspaces.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                       |
| ---------------------- | -------------------------------------------------- |
| `--name <text>`        |                                                    |
| `--description <text>` |                                                    |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin. |

```bash
coline workspaces update -w acme
coline workspaces update -w acme --json '{}' --fields id
```
