# calendar

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

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

{/* 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`. */}

Your calendar. Every `coline calendar` command, 54 in all.

## calendar agenda

Your day in three parts: your events, your tasks that are due or overdue, and how much is waiting in your inbox. Times are in this computer's time zone.

\--date picks another day and --days shows up to 14 days from it.

```text
coline calendar agenda [flags]
```

**Built into coline.** · **Calls** `calendar.events.list`, `tasks.listMine`, `inbox.counts` · **Effect** read, changes nothing · **Can wait for your approval** no

| Flag              | What it does                                            |
| ----------------- | ------------------------------------------------------- |
| `--date <day>`    | The day to show: today, tomorrow, friday or 2026-11-30. |
| `--days <number>` | How many days, up to 14; default 1.                     |

```bash
coline calendar agenda
coline calendar agenda --date monday --days 5
coline calendar agenda --json
```

## calendar export

A calendar's events as an .ics file, as Coline's calendar exports it: to stdout, or to a file with -o. Name the calendar by its id or its name (coline calendar calendars list).

```text
coline calendar export <calendar> [flags]
```

**Built into coline.** · **Calls** `calendar.calendars.list`, `GET /api/workspaces/[workspaceSlug]/calendar/calendars/[calendarId]/export` · **Effect** read, changes nothing · **Can wait for your approval** no

| Flag                  | What it does                                                                     |
| --------------------- | -------------------------------------------------------------------------------- |
| `-o, --output <path>` | Save to this file (or into this folder), inside the current folder; - is stdout. |
| `--force`             | Replace a file that is already there.                                            |

```bash
coline calendar export Team -o team.ics
coline calendar export cal_9f2c… > work.ics
coline calendar export Team --json --fields ics
```

## calendar availability check

Shows whether the person and the teammates given are free between two times, with what's in the way.

It changes nothing.

```text
coline calendar availability check [flags]
```

**Action** `calendar.availability.check` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

| Flag                         | What it does                                       |
| ---------------------------- | -------------------------------------------------- |
| `--starts-at <text>`         | ISO 8601 with a time zone offset. Required.        |
| `--ends-at <text>`           | ISO 8601 with a time zone offset. Required.        |
| `--attendee-user-ids <list>` | Teammates by user id, from find\_people.           |
| `--exclude-event-id <id>`    | Ignore this event, e.g. the one being moved.       |
| `--input <file>`             | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar availability check -w acme --starts-at "…" --ends-at "…"
coline calendar availability check -w acme --json '{"startsAt":"…","endsAt":"…"}' --fields id
```

## calendar availability get

Reads the person's working hours, focus time and time off.

It changes nothing.

```text
coline calendar availability get [flags]
```

**Action** `calendar.availability.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

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

```bash
coline calendar availability get -w acme
coline calendar availability get -w acme --json '{}' --fields id
```

## calendar availability save

Replaces the person's weekly working hours and dated time off. Read them first; this replaces all of them.

Set rules, overrides with --json '\{…}' or --input.

```text
coline calendar availability save [flags]
```

**Action** `calendar.availability.save` · **Effect** write · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

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

```bash
coline calendar availability save -w acme --time-zone "…"
coline calendar availability save -w acme --json '{"timeZone":"…","rules":"…","overrides":"…"}' --fields id
```

## calendar calendars archive

Archives a calendar and hides its events. It can be restored.

It removes or overwrites something, so it runs only with --confirm.

```text
coline calendar calendars archive [flags]
```

**Action** `calendar.calendars.archive` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                 | What it does                                       |
| -------------------- | -------------------------------------------------- |
| `--calendar-id <id>` | Calendar id from list\_calendars. Required.        |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar calendars archive -w acme --calendar-id <calendar-id> --confirm
coline calendar calendars archive -w acme --json '{"calendarId":"<calendar-id>"}' --fields id --confirm
```

## calendar calendars changes

Every change to a calendar's events after a revision, oldest first, for keeping a copy in sync.

It changes nothing.

```text
coline calendar calendars changes [flags]
```

**Action** `calendar.calendars.changes` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

| Flag                 | What it does                                        |
| -------------------- | --------------------------------------------------- |
| `--calendar-id <id>` | Calendar id from list\_calendars. Required.         |
| `--after <number>`   | The revision you have; 0 for everything. Default 0. |
| `--limit <number>`   | Default 250.                                        |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin.  |

```bash
coline calendar calendars changes -w acme --calendar-id <calendar-id>
coline calendar calendars changes -w acme --json '{"calendarId":"<calendar-id>"}' --fields id
```

## calendar calendars create

Creates a calendar in the workspace: one of the person's own, or a shared one the team can see.

```text
coline calendar calendars create [flags]
```

**Action** `calendar.calendars.create` · **Effect** write · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                   |
| ---------------------- | ------------------------------------------------------------------------------ |
| `--kind <text>`        | user: the person's own; shared: the team's. Required. One of `user`, `shared`. |
| `--name <text>`        | Required.                                                                      |
| `--description <text>` |                                                                                |
| `--color <text>`       |                                                                                |
| `--time-zone <text>`   | IANA time zone, e.g. America/Vancouver. Required.                              |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                             |

```bash
coline calendar calendars create -w acme --kind user --name "…" --time-zone "…"
coline calendar calendars create -w acme --json '{"kind":"user","name":"…","timeZone":"…"}' --fields id
```

## calendar calendars import

Adds the events in an iCalendar (.ics) file to a calendar you can edit. An event already imported with the same id is updated, not added twice. Nobody is notified.

```text
coline calendar calendars import [flags]
```

**Action** `calendar.calendars.import` · **Effect** write · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                 | What it does                                                         |
| -------------------- | -------------------------------------------------------------------- |
| `--calendar-id <id>` | The calendar to import into, from calendar.calendars.list. Required. |
| `--ics <text>`       | The .ics file's text. Required.                                      |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin.                   |

```bash
coline calendar calendars import -w acme --calendar-id <calendar-id> --ics "…"
coline calendar calendars import -w acme --json '{"calendarId":"<calendar-id>","ics":"…"}' --fields id
```

## calendar calendars list

Lists the calendars the person can see: their own, shared team calendars and connected Google or Microsoft ones, with their permission on each.

It changes nothing.

```text
coline calendar calendars list [flags]
```

**Action** `calendar.calendars.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

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

```bash
coline calendar calendars list -w acme
coline calendar calendars list -w acme --json '{}' --fields id
```

## calendar calendars restore

Brings back an archived calendar with its events.

```text
coline calendar calendars restore [flags]
```

**Action** `calendar.calendars.restore` · **Effect** write · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                 | What it does                                       |
| -------------------- | -------------------------------------------------- |
| `--calendar-id <id>` | Calendar id from list\_calendars. Required.        |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar calendars restore -w acme --calendar-id <calendar-id>
coline calendar calendars restore -w acme --json '{"calendarId":"<calendar-id>"}' --fields id
```

## calendar calendars update

Renames or recolors a calendar, or changes how it shows for the person (hidden, counted for availability, where new events go).

Set calendar, preferences with --json '\{…}' or --input.

```text
coline calendar calendars update [flags]
```

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

| Flag                 | What it does                                       |
| -------------------- | -------------------------------------------------- |
| `--calendar-id <id>` | Calendar id from list\_calendars. Required.        |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar calendars update -w acme --calendar-id <calendar-id>
coline calendar calendars update -w acme --json '{"calendarId":"<calendar-id>"}' --fields id
```

## calendar connections calendars update

Changes one calendar of a connected account: whether it syncs into Coline, shows in your calendar, and counts toward when you're busy. Turning sync off hides it and leaves it out of your availability too; it is refused while its changes still wait to reach the outside calendar or a booking link puts events in it.

```text
coline calendar connections calendars update [flags]
```

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

| Flag                        | What it does                                                                      |
| --------------------------- | --------------------------------------------------------------------------------- |
| `--connection-id <id>`      | The connected account's id, from calendar.connections.list. Required.             |
| `--id <text>`               | The calendar's id (not its calendarId), from calendar.connections.list. Required. |
| `--selected`                | Sync it into Coline.                                                              |
| `--is-visible`              | Show it in your calendar.                                                         |
| `--include-in-availability` | Count its events when finding when you're free.                                   |
| `--input <file>`            | Read the input as JSON from a file; - reads stdin.                                |

```bash
coline calendar connections calendars update -w acme --connection-id <connection-id> --id "…"
coline calendar connections calendars update -w acme --json '{"connectionId":"<connection-id>","id":"…"}' --fields id
```

## calendar connections conflicts resolve

Settles a change made in Coline that couldn't reach the outside calendar. provider keeps the outside calendar's version and drops the change (an event that exists only in Coline is deleted); retry sends Coline's version again, over the outside calendar's.

```text
coline calendar connections conflicts resolve [flags]
```

**Action** `calendar.connections.conflicts.resolve` · **Effect** write · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                                                                     |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `--connection-id <id>` | The connected account's id, from calendar.connections.list. Required.                                            |
| `--operation-id <id>`  | The conflict's id, from the account's conflicts in calendar.connections.list. Required.                          |
| `--resolution <text>`  | provider: keep the outside calendar's version; retry: send Coline's again. Required. One of `provider`, `retry`. |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                                                               |

```bash
coline calendar connections conflicts resolve -w acme --connection-id <connection-id> --operation-id <operation-id> --resolution provider
coline calendar connections conflicts resolve -w acme --json '{"connectionId":"<connection-id>","operationId":"<operation-id>","resolution":"provider"}' --fields id
```

## calendar connections disconnect

Disconnects one of your connected calendar accounts. Its calendars and every event synced from them are deleted from Coline; the outside calendar keeps them. It is refused while a booking link puts events in one of its calendars, or while changes made in Coline still wait to reach it.

It removes or overwrites something, so it runs only with --confirm.

```text
coline calendar connections disconnect [flags]
```

**Action** `calendar.connections.disconnect` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                          |
| ---------------------- | --------------------------------------------------------------------- |
| `--connection-id <id>` | The connected account's id, from calendar.connections.list. Required. |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                    |

```bash
coline calendar connections disconnect -w acme --connection-id <connection-id> --confirm
coline calendar connections disconnect -w acme --json '{"connectionId":"<connection-id>"}' --fields id --confirm
```

## calendar connections list

The outside calendar accounts you connected, in every workspace you're in: their calendars, when they last synced, and changes that are waiting or in conflict.

It changes nothing.

```text
coline calendar connections list [flags]
```

**Action** `calendar.connections.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

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

```bash
coline calendar connections list -w acme
coline calendar connections list -w acme --json '{}' --fields id
```

## calendar connections sync

Syncs one of your connected calendar accounts now instead of waiting for the next sync.

```text
coline calendar connections sync [flags]
```

**Action** `calendar.connections.sync` · **Effect** write · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                   | What it does                                                          |
| ---------------------- | --------------------------------------------------------------------- |
| `--connection-id <id>` | The connected account's id, from calendar.connections.list. Required. |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin.                    |

```bash
coline calendar connections sync -w acme --connection-id <connection-id>
coline calendar connections sync -w acme --json '{"connectionId":"<connection-id>"}' --fields id
```

## calendar events create

Schedules a meeting or blocks time on the person's calendar, shown to them on their week. Pass an IANA time zone. Not idempotent: after a timeout, check list\_events before trying again.

It reaches people outside Coline; mail and outside invites wait for your approval in Coline (exit code 10, with the link).

Set guestAttendees, links, recurrenceRule, meetingSettings with --json '\{…}' or --input.

```text
coline calendar events create [flags]
```

**Action** `calendar.events.create` · **Effect** external, reaches people outside Coline · **Can wait for your approval** yes (exit code 10, with the link) · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                               | What it does                                                                                                 |
| ---------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| `--title <text>`                   | Required.                                                                                                    |
| `--start <text>`                   | ISO 8601 with a time zone offset, e.g. 2026-11-20T15:00:00-08:00. Required.                                  |
| `--end <text>`                     | ISO 8601 with a time zone offset, e.g. 2026-11-20T15:00:00-08:00. Required.                                  |
| `--time-zone <text>`               | IANA time zone, e.g. America/Vancouver. Required.                                                            |
| `--all-day`                        |                                                                                                              |
| `--video-call`                     | Add a Coline meeting link.                                                                                   |
| `--reminder-minutes <list>`        | Remind the person this many minutes before.                                                                  |
| `--description <text>`             |                                                                                                              |
| `--location <text>`                |                                                                                                              |
| `--attendees <list>`               | Email addresses. Teammates are added directly; anyone else gets an email invite once the person approves it. |
| `--calendar-id <id>`               | Calendar to put it on; default the person's own.                                                             |
| `--visibility <text>`              | One of `private`, `invitees`, `workspace`.                                                                   |
| `--transparency <text>`            | free: doesn't block the person's time. One of `busy`, `free`.                                                |
| `--attendee-user-ids <list>`       | Teammates by user id, instead of attendees by email.                                                         |
| `--call-join-url <text>`           | A video call link from elsewhere.                                                                            |
| `--call-provider <text>`           |                                                                                                              |
| `--color <text>`                   |                                                                                                              |
| `--kind <text>`                    | One of `regular`, `focus_time`, `travel`, `pto`, `out_of_office`.                                            |
| `--travel-minutes-before <number>` |                                                                                                              |
| `--travel-minutes-after <number>`  |                                                                                                              |
| `--input <file>`                   | Read the input as JSON from a file; - reads stdin.                                                           |

```bash
coline calendar events create -w acme --title "…" --start "…" --end "…" --time-zone "…"
coline calendar events create -w acme --json '{"title":"…","start":"…","end":"…","timeZone":"…"}' --fields id
```

## calendar events delete

Deletes an event from the calendar, or some occurrences of a repeating one. To call off a meeting and tell attendees, cancel it with update\_event instead.

It removes or overwrites something, so it runs only with --confirm.

```text
coline calendar events delete [flags]
```

**Action** `calendar.events.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** yes (exit code 10, with the link) · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                        | What it does                                                                                                           |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `--event-id <id>`           | Event id from list\_events. Required.                                                                                  |
| `--recurrence-scope <text>` | For a repeating event: this occurrence, this and following, or the whole series. One of `this`, `following`, `series`. |
| `--occurrence-start <text>` | Which occurrence, by its start, with recurrenceScope this or following.                                                |
| `--input <file>`            | Read the input as JSON from a file; - reads stdin.                                                                     |

```bash
coline calendar events delete -w acme --event-id <event-id> --confirm
coline calendar events delete -w acme --json '{"eventId":"<event-id>"}' --fields id --confirm
```

## calendar events get

Reads one event in full: description, attendees and their responses, and the join link.

It changes nothing.

```text
coline calendar events get [flags]
```

**Action** `calendar.events.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--event-id <id>` | Event id from list\_events. Required.              |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar events get -w acme --event-id <event-id>
coline calendar events get -w acme --json '{"eventId":"<event-id>"}' --fields id
```

## calendar events join-link get

The calendar event's public meeting link, made the first time it is asked for. Anyone with the link can join the meeting, so share it only with the people meant to come.

It reaches people outside Coline right away.

```text
coline calendar events join-link get [flags]
```

**Action** `calendar.events.joinLink.get` · **Effect** external, reaches people outside Coline · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--event-id <id>` | The calendar event's id. Required.                 |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar events join-link get -w acme --event-id <event-id>
coline calendar events join-link get -w acme --json '{"eventId":"<event-id>"}' --fields id
```

## calendar events join-link revoke

Turns off the calendar event's public meeting link, so nobody holding it can join with it. Asking for the link again makes a new one.

It removes or overwrites something, so it runs only with --confirm.

```text
coline calendar events join-link revoke [flags]
```

**Action** `calendar.events.joinLink.revoke` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--event-id <id>` | The calendar event's id. Required.                 |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar events join-link revoke -w acme --event-id <event-id> --confirm
coline calendar events join-link revoke -w acme --json '{"eventId":"<event-id>"}' --fields id --confirm
```

## calendar events links add

Attaches a file, a channel or a web page to an event, for everyone invited. Needs the organizer.

Set link with --json '\{…}' or --input.

```text
coline calendar events links add [flags]
```

**Action** `calendar.events.links.add` · **Effect** write · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--event-id <id>` | Event id from list\_events. Required.              |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar events links add -w acme --event-id <event-id>
coline calendar events links add -w acme --json '{"eventId":"<event-id>","link":"…"}' --fields id
```

## calendar events links remove

Removes an attached file, channel or web page from an event. Needs the organizer.

It removes or overwrites something, so it runs only with --confirm.

```text
coline calendar events links remove [flags]
```

**Action** `calendar.events.links.remove` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--event-id <id>` | Event id from list\_events. Required.              |
| `--link-id <id>`  | Link id from get\_event's detail.links. Required.  |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar events links remove -w acme --event-id <event-id> --link-id <link-id> --confirm
coline calendar events links remove -w acme --json '{"eventId":"<event-id>","linkId":"<link-id>"}' --fields id --confirm
```

## calendar events list

Lists the person's schedule across all their Coline calendars between two times (up to 93 days).

It changes nothing.

```text
coline calendar events list [flags]
```

**Action** `calendar.events.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

| Flag                 | What it does                                                                                                                                                |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--start <text>`     | ISO 8601 with a time zone offset, e.g. 2026-11-20T15:00:00-08:00. Required.                                                                                 |
| `--end <text>`       | ISO 8601 with a time zone offset, e.g. 2026-11-20T15:00:00-08:00. Required.                                                                                 |
| `--calendars <text>` | mine (default): the person's own schedule in every workspace. workspace: everything on this workspace's calendars they can see. One of `mine`, `workspace`. |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin.                                                                                                          |

```bash
coline calendar events list -w acme --start "…" --end "…"
coline calendar events list -w acme --json '{"start":"…","end":"…"}' --fields id
```

## calendar events reminders get

Lists the person's own reminders for an event they're invited to.

It changes nothing.

```text
coline calendar events reminders get [flags]
```

**Action** `calendar.events.reminders.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--event-id <id>` | Event id from list\_events. Required.              |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar events reminders get -w acme --event-id <event-id>
coline calendar events reminders get -w acme --json '{"eventId":"<event-id>"}' --fields id
```

## calendar events reminders set

Replaces the person's own reminders for an event: how long before, and where (in Coline, desktop, phone).

Set reminders with --json '\{…}' or --input.

```text
coline calendar events reminders set [flags]
```

**Action** `calendar.events.reminders.set` · **Effect** write · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--event-id <id>` | Event id from list\_events. Required.              |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar events reminders set -w acme --event-id <event-id>
coline calendar events reminders set -w acme --json '{"eventId":"<event-id>","reminders":"…"}' --fields id
```

## calendar events respond

Accepts, tentatively accepts or declines an invitation for the person.

It reaches people outside Coline; mail and outside invites wait for your approval in Coline (exit code 10, with the link).

```text
coline calendar events respond [flags]
```

**Action** `calendar.events.respond` · **Effect** external, reaches people outside Coline · **Can wait for your approval** yes (exit code 10, with the link) · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                | What it does                                                                                                                                |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `--event-id <id>`   | Event id from list\_events. Required.                                                                                                       |
| `--response <text>` | accepted, tentative or declined; needs\_action takes the answer back. Required. One of `needs_action`, `accepted`, `tentative`, `declined`. |
| `--input <file>`    | Read the input as JSON from a file; - reads stdin.                                                                                          |

```bash
coline calendar events respond -w acme --event-id <event-id> --response needs_action
coline calendar events respond -w acme --json '{"eventId":"<event-id>","response":"needs_action"}' --fields id
```

## calendar events search

Finds events by words in their title, description or location, across the person's calendars, optionally within dates.

It changes nothing.

```text
coline calendar events search [flags]
```

**Action** `calendar.events.search` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

| Flag               | What it does                                       |
| ------------------ | -------------------------------------------------- |
| `--q <text>`       | Required.                                          |
| `--start <text>`   | ISO 8601 with a time zone offset.                  |
| `--end <text>`     | ISO 8601 with a time zone offset.                  |
| `--limit <number>` | Default 50.                                        |
| `--input <file>`   | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar events search -w acme --q "…"
coline calendar events search -w acme --json '{"q":"…"}' --fields id
```

## calendar events update

Reschedules, renames, changes attendees of, or cancels an event. Only the fields you pass change. For a repeating event, say which occurrences change.

It reaches people outside Coline; mail and outside invites wait for your approval in Coline (exit code 10, with the link).

Set guestAttendees, links, recurrenceRule, meetingSettings with --json '\{…}' or --input.

```text
coline calendar events update [flags]
```

**Action** `calendar.events.update` · **Effect** external, reaches people outside Coline · **Can wait for your approval** yes (exit code 10, with the link) · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                               | What it does                                                                                                           |
| ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `--event-id <id>`                  | Event id from list\_events. Required.                                                                                  |
| `--title <text>`                   |                                                                                                                        |
| `--start <text>`                   | ISO 8601 with a time zone offset, e.g. 2026-11-20T15:00:00-08:00.                                                      |
| `--end <text>`                     | ISO 8601 with a time zone offset, e.g. 2026-11-20T15:00:00-08:00.                                                      |
| `--time-zone <text>`               | IANA time zone, e.g. America/Vancouver.                                                                                |
| `--all-day`                        |                                                                                                                        |
| `--cancel`                         | true cancels the event for everyone.                                                                                   |
| `--recurrence-scope <text>`        | For a repeating event: this occurrence, this and following, or the whole series. One of `this`, `following`, `series`. |
| `--occurrence-start <text>`        | Which occurrence, by its start, with recurrenceScope this or following.                                                |
| `--description <text>`             |                                                                                                                        |
| `--location <text>`                |                                                                                                                        |
| `--attendees <list>`               | Email addresses. Teammates are added directly; anyone else gets an email invite once the person approves it.           |
| `--calendar-id <id>`               | Calendar to put it on; default the person's own.                                                                       |
| `--visibility <text>`              | One of `private`, `invitees`, `workspace`.                                                                             |
| `--transparency <text>`            | free: doesn't block the person's time. One of `busy`, `free`.                                                          |
| `--attendee-user-ids <list>`       | Teammates by user id, instead of attendees by email.                                                                   |
| `--call-join-url <text>`           | A video call link from elsewhere.                                                                                      |
| `--call-provider <text>`           |                                                                                                                        |
| `--color <text>`                   |                                                                                                                        |
| `--kind <text>`                    | One of `regular`, `focus_time`, `travel`, `pto`, `out_of_office`.                                                      |
| `--travel-minutes-before <number>` |                                                                                                                        |
| `--travel-minutes-after <number>`  |                                                                                                                        |
| `--input <file>`                   | Read the input as JSON from a file; - reads stdin.                                                                     |

```bash
coline calendar events update -w acme --event-id <event-id>
coline calendar events update -w acme --json '{"eventId":"<event-id>"}' --fields id
```

## calendar find-time

Suggests open times on the person's calendar for something of a given length, within their working hours, over the next two weeks at most.

It changes nothing.

```text
coline calendar find-time [flags]
```

**Action** `calendar.findTime` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

| Flag                          | What it does                                                |
| ----------------------------- | ----------------------------------------------------------- |
| `--duration-minutes <number>` | Required.                                                   |
| `--range-start <text>`        | Default now.                                                |
| `--range-end <text>`          | Default five working days after the start; at most 14 days. |
| `--priority <text>`           | One of `none`, `low`, `medium`, `high`, `urgent`.           |
| `--due-date <text>`           | Prefer times before this.                                   |
| `--max-slots <number>`        |                                                             |
| `--input <file>`              | Read the input as JSON from a file; - reads stdin.          |

```bash
coline calendar find-time -w acme --duration-minutes 10
coline calendar find-time -w acme --json '{"durationMinutes":"10"}' --fields id
```

## calendar grants list

Lists who else can see or change a calendar, and how much.

It changes nothing.

```text
coline calendar grants list [flags]
```

**Action** `calendar.grants.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

| Flag                 | What it does                                       |
| -------------------- | -------------------------------------------------- |
| `--calendar-id <id>` | Calendar id from list\_calendars. Required.        |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar grants list -w acme --calendar-id <calendar-id>
coline calendar grants list -w acme --json '{"calendarId":"<calendar-id>"}' --fields id
```

## calendar grants remove

Takes away a teammate's or a role's access to a calendar.

It removes or overwrites something, so it runs only with --confirm.

```text
coline calendar grants remove [flags]
```

**Action** `calendar.grants.remove` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                 | What it does                                       |
| -------------------- | -------------------------------------------------- |
| `--calendar-id <id>` | Calendar id from list\_calendars. Required.        |
| `--user-id <id>`     | A teammate; or give roleId.                        |
| `--role-id <id>`     | Everyone with a workspace role; or give userId.    |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar grants remove -w acme --calendar-id <calendar-id> --confirm
coline calendar grants remove -w acme --json '{"calendarId":"<calendar-id>"}' --fields id --confirm
```

## calendar grants set

Lets a teammate or a workspace role see a calendar (free/busy or details), edit its events, or manage it.

```text
coline calendar grants set [flags]
```

**Action** `calendar.grants.set` · **Effect** write · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                  | What it does                                            |
| --------------------- | ------------------------------------------------------- |
| `--calendar-id <id>`  | Calendar id from list\_calendars. Required.             |
| `--user-id <id>`      | A teammate; or give roleId.                             |
| `--role-id <id>`      | Everyone with a workspace role; or give userId.         |
| `--permission <text>` | Required. One of `free_busy`, `view`, `edit`, `manage`. |
| `--input <file>`      | Read the input as JSON from a file; - reads stdin.      |

```bash
coline calendar grants set -w acme --calendar-id <calendar-id> --permission free_busy
coline calendar grants set -w acme --json '{"calendarId":"<calendar-id>","permission":"free_busy"}' --fields id
```

## calendar parse-event

Reads a typed description of an event or task into its title, date, times, people, place and repeat.

It changes nothing.

```text
coline calendar parse-event [flags]
```

**Action** `calendar.parseEvent` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** no

| Flag                         | What it does                                       |
| ---------------------------- | -------------------------------------------------- |
| `--text <text>`              | Required.                                          |
| `--timezone <text>`          | Required.                                          |
| `--current-date <text>`      | Required.                                          |
| `--invitee-names <list>`     |                                                    |
| `--current-user-name <text>` |                                                    |
| `--mode <text>`              | One of `event`, `task`.                            |
| `--input <file>`             | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar parse-event --text "…" --timezone "…" --current-date "…"
coline calendar parse-event --json '{"text":"…","timezone":"…","currentDate":"…"}' --fields id
```

## calendar proposals create

Proposes a different time for an event the person is invited to; the organizer is told and can accept it.

It reaches people outside Coline right away.

```text
coline calendar proposals create [flags]
```

**Action** `calendar.proposals.create` · **Effect** external, reaches people outside Coline · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                 | What it does                                       |
| -------------------- | -------------------------------------------------- |
| `--event-id <id>`    | Event id from list\_events. Required.              |
| `--starts-at <text>` | ISO 8601 with a time zone offset. Required.        |
| `--ends-at <text>`   | Required.                                          |
| `--time-zone <text>` | Required.                                          |
| `--comment <text>`   |                                                    |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar proposals create -w acme --event-id <event-id> --starts-at "…" --ends-at "…" --time-zone "…"
coline calendar proposals create -w acme --json '{"eventId":"<event-id>","startsAt":"…","endsAt":"…","timeZone":"…"}' --fields id
```

## calendar proposals list

Lists the new times attendees proposed for an event, and what the organizer answered.

It changes nothing.

```text
coline calendar proposals list [flags]
```

**Action** `calendar.proposals.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--event-id <id>` | Event id from list\_events. Required.              |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar proposals list -w acme --event-id <event-id>
coline calendar proposals list -w acme --json '{"eventId":"<event-id>"}' --fields id
```

## calendar proposals respond

Accepts (moving the event) or declines a time an attendee proposed. Needs the organizer.

It reaches people outside Coline right away.

```text
coline calendar proposals respond [flags]
```

**Action** `calendar.proposals.respond` · **Effect** external, reaches people outside Coline · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                 | What it does                                       |
| -------------------- | -------------------------------------------------- |
| `--event-id <id>`    | Event id from list\_events. Required.              |
| `--proposal-id <id>` | Required.                                          |
| `--response <text>`  | Required. One of `accepted`, `declined`.           |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar proposals respond -w acme --event-id <event-id> --proposal-id <proposal-id> --response accepted
coline calendar proposals respond -w acme --json '{"eventId":"<event-id>","proposalId":"<proposal-id>","response":"accepted"}' --fields id
```

## calendar scheduling-links create

Makes a scheduling link people can book time with the person through, for a length and hours they choose.

Set availabilityRules, intakeQuestions, routingRules, openingOptions, embedSettings, conferencing with --json '\{…}' or --input.

```text
coline calendar scheduling-links create [flags]
```

**Action** `calendar.schedulingLinks.create` · **Effect** write · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                                | What it does                                                                                                      |
| ----------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `--slug <text>`                     | The link's address; default from the title.                                                                       |
| `--title <text>`                    | Required.                                                                                                         |
| `--description <text>`              |                                                                                                                   |
| `--location <text>`                 |                                                                                                                   |
| `--duration-minutes <number>`       | Required.                                                                                                         |
| `--time-zone <text>`                | Required.                                                                                                         |
| `--slot-interval-minutes <number>`  |                                                                                                                   |
| `--buffer-before-minutes <number>`  |                                                                                                                   |
| `--buffer-after-minutes <number>`   |                                                                                                                   |
| `--minimum-notice-minutes <number>` |                                                                                                                   |
| `--booking-window-days <number>`    |                                                                                                                   |
| `--booking-flow <text>`             | instant books straight away; proposal and poll wait for the person to pick. One of `instant`, `proposal`, `poll`. |
| `--scheduling-type <text>`          | One of `one_on_one`, `round_robin`, `collective`.                                                                 |
| `--host-user-ids <list>`            |                                                                                                                   |
| `--fallback-host-user-id <id>`      |                                                                                                                   |
| `--allow-booking-over-focus-time`   |                                                                                                                   |
| `--is-active`                       |                                                                                                                   |
| `--input <file>`                    | Read the input as JSON from a file; - reads stdin.                                                                |

```bash
coline calendar scheduling-links create -w acme --title "…" --duration-minutes 10 --time-zone "…"
coline calendar scheduling-links create -w acme --json '{"title":"…","durationMinutes":"10","timeZone":"…"}' --fields id
```

## calendar scheduling-links delete

Deletes a scheduling link; nobody can book through it any more. Bookings already made stay.

It removes or overwrites something, so it runs only with --confirm.

```text
coline calendar scheduling-links delete [flags]
```

**Action** `calendar.schedulingLinks.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag             | What it does                                               |
| ---------------- | ---------------------------------------------------------- |
| `--link-id <id>` | Scheduling link id from list\_scheduling\_links. Required. |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.         |

```bash
coline calendar scheduling-links delete -w acme --link-id <link-id> --confirm
coline calendar scheduling-links delete -w acme --json '{"linkId":"<link-id>"}' --fields id --confirm
```

## calendar scheduling-links get

Reads a scheduling link in full, with its bookings and the requests waiting for the person to pick a time.

It changes nothing.

```text
coline calendar scheduling-links get [flags]
```

**Action** `calendar.schedulingLinks.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

| Flag             | What it does                                               |
| ---------------- | ---------------------------------------------------------- |
| `--link-id <id>` | Scheduling link id from list\_scheduling\_links. Required. |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.         |

```bash
coline calendar scheduling-links get -w acme --link-id <link-id>
coline calendar scheduling-links get -w acme --json '{"linkId":"<link-id>"}' --fields id
```

## calendar scheduling-links list

Lists the person's scheduling links, the pages where others book time with them.

It changes nothing.

```text
coline calendar scheduling-links list [flags]
```

**Action** `calendar.schedulingLinks.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

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

```bash
coline calendar scheduling-links list -w acme
coline calendar scheduling-links list -w acme --json '{}' --fields id
```

## calendar scheduling-links update

Changes a scheduling link: its hours, length, questions, hosts, or turns it off. Only the fields you pass change.

Set availabilityRules, intakeQuestions, routingRules, openingOptions, embedSettings, conferencing with --json '\{…}' or --input.

```text
coline calendar scheduling-links update [flags]
```

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

| Flag                                | What it does                                                                                                      |
| ----------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `--link-id <id>`                    | Scheduling link id from list\_scheduling\_links. Required.                                                        |
| `--slug <text>`                     | The link's address; default from the title.                                                                       |
| `--title <text>`                    |                                                                                                                   |
| `--description <text>`              |                                                                                                                   |
| `--location <text>`                 |                                                                                                                   |
| `--duration-minutes <number>`       |                                                                                                                   |
| `--time-zone <text>`                |                                                                                                                   |
| `--slot-interval-minutes <number>`  |                                                                                                                   |
| `--buffer-before-minutes <number>`  |                                                                                                                   |
| `--buffer-after-minutes <number>`   |                                                                                                                   |
| `--minimum-notice-minutes <number>` |                                                                                                                   |
| `--booking-window-days <number>`    |                                                                                                                   |
| `--booking-flow <text>`             | instant books straight away; proposal and poll wait for the person to pick. One of `instant`, `proposal`, `poll`. |
| `--scheduling-type <text>`          | One of `one_on_one`, `round_robin`, `collective`.                                                                 |
| `--host-user-ids <list>`            |                                                                                                                   |
| `--fallback-host-user-id <id>`      |                                                                                                                   |
| `--allow-booking-over-focus-time`   |                                                                                                                   |
| `--is-active`                       |                                                                                                                   |
| `--input <file>`                    | Read the input as JSON from a file; - reads stdin.                                                                |

```bash
coline calendar scheduling-links update -w acme --link-id <link-id>
coline calendar scheduling-links update -w acme --json '{"linkId":"<link-id>"}' --fields id
```

## calendar sets apply

Shows exactly the calendars in a set and hides the rest.

```text
coline calendar sets apply [flags]
```

**Action** `calendar.sets.apply` · **Effect** write · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag             | What it does                                         |
| ---------------- | ---------------------------------------------------- |
| `--set-id <id>`  | Calendar set id from list\_calendar\_sets. Required. |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.   |

```bash
coline calendar sets apply -w acme --set-id <set-id>
coline calendar sets apply -w acme --json '{"setId":"<set-id>"}' --fields id
```

## calendar sets create

Makes a named group of calendars the person can show together, optionally switched on automatically at set hours.

Set autoRule with --json '\{…}' or --input.

```text
coline calendar sets create [flags]
```

**Action** `calendar.sets.create` · **Effect** write · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                    | What it does                                       |
| ----------------------- | -------------------------------------------------- |
| `--name <text>`         | Required.                                          |
| `--color <text>`        |                                                    |
| `--calendar-ids <list>` | Required.                                          |
| `--input <file>`        | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar sets create -w acme --name "…" --calendar-ids "…"
coline calendar sets create -w acme --json '{"name":"…","calendarIds":"…"}' --fields id
```

## calendar sets delete

Deletes a calendar set. Its calendars stay.

It removes or overwrites something, so it runs only with --confirm.

```text
coline calendar sets delete [flags]
```

**Action** `calendar.sets.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag             | What it does                                         |
| ---------------- | ---------------------------------------------------- |
| `--set-id <id>`  | Calendar set id from list\_calendar\_sets. Required. |
| `--input <file>` | Read the input as JSON from a file; - reads stdin.   |

```bash
coline calendar sets delete -w acme --set-id <set-id> --confirm
coline calendar sets delete -w acme --json '{"setId":"<set-id>"}' --fields id --confirm
```

## calendar sets list

Lists the person's calendar sets: named groups of calendars they switch between, like Work or Personal.

It changes nothing.

```text
coline calendar sets list [flags]
```

**Action** `calendar.sets.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

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

```bash
coline calendar sets list -w acme
coline calendar sets list -w acme --json '{}' --fields id
```

## calendar sets update

Renames a calendar set or changes which calendars are in it.

Set autoRule with --json '\{…}' or --input.

```text
coline calendar sets update [flags]
```

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

| Flag                     | What it does                                         |
| ------------------------ | ---------------------------------------------------- |
| `--set-id <id>`          | Calendar set id from list\_calendar\_sets. Required. |
| `--name <text>`          |                                                      |
| `--color <text>`         |                                                      |
| `--calendar-ids <list>`  |                                                      |
| `--sort-position <text>` |                                                      |
| `--input <file>`         | Read the input as JSON from a file; - reads stdin.   |

```bash
coline calendar sets update -w acme --set-id <set-id>
coline calendar sets update -w acme --json '{"setId":"<set-id>"}' --fields id
```

## calendar settings get

Reads the person's calendar settings: time zone, week start, default event length and visibility, reminders.

It changes nothing.

```text
coline calendar settings get [flags]
```

**Action** `calendar.settings.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

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

```bash
coline calendar settings get -w acme
coline calendar settings get -w acme --json '{}' --fields id
```

## calendar settings update

Changes the person's calendar settings. Only the fields you pass change.

```text
coline calendar settings update [flags]
```

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

| Flag                                  | What it does                                       |
| ------------------------------------- | -------------------------------------------------- |
| `--default-view <text>`               | One of `month`, `week`, `day`, `agenda`, `plan`.   |
| `--week-start-day <text>`             | One of `sunday`, `monday`, `saturday`.             |
| `--time-format <text>`                | One of `12h`, `24h`.                               |
| `--default-event-duration <number>`   | Minutes.                                           |
| `--default-event-visibility <text>`   | One of `private`, `invitees`, `workspace`.         |
| `--show-weekends`                     |                                                    |
| `--show-declined-events`              |                                                    |
| `--buffer-minutes <number>`           |                                                    |
| `--default-reminder-minutes <number>` |                                                    |
| `--time-zone <text>`                  |                                                    |
| `--planning-ritual-enabled`           |                                                    |
| `--planning-ritual-time <number>`     |                                                    |
| `--review-ritual-enabled`             |                                                    |
| `--review-ritual-time <number>`       |                                                    |
| `--input <file>`                      | Read the input as JSON from a file; - reads stdin. |

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

## calendar templates create

Saves an event template: a title, length, attendees, call and reminders to start new events from.

Set payload with --json '\{…}' or --input.

```text
coline calendar templates create [flags]
```

**Action** `calendar.templates.create` · **Effect** write · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

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

```bash
coline calendar templates create -w acme --name "…"
coline calendar templates create -w acme --json '{"name":"…","payload":"…"}' --fields id
```

## calendar templates delete

Deletes an event template. Events made from it stay.

It removes or overwrites something, so it runs only with --confirm.

```text
coline calendar templates delete [flags]
```

**Action** `calendar.templates.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `calendar.write` · **Workspace** yes, `-w`

| Flag                 | What it does                                       |
| -------------------- | -------------------------------------------------- |
| `--template-id <id>` | Template id from list\_event\_templates. Required. |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar templates delete -w acme --template-id <template-id> --confirm
coline calendar templates delete -w acme --json '{"templateId":"<template-id>"}' --fields id --confirm
```

## calendar templates list

Lists the person's event templates: saved starting points for events they create often.

It changes nothing.

```text
coline calendar templates list [flags]
```

**Action** `calendar.templates.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `calendar.read` · **Workspace** yes, `-w`

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

```bash
coline calendar templates list -w acme
coline calendar templates list -w acme --json '{}' --fields id
```

## calendar templates update

Renames an event template or changes what it fills in.

Set payload with --json '\{…}' or --input.

```text
coline calendar templates update [flags]
```

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

| Flag                     | What it does                                       |
| ------------------------ | -------------------------------------------------- |
| `--template-id <id>`     | Template id from list\_event\_templates. Required. |
| `--name <text>`          |                                                    |
| `--sort-position <text>` |                                                    |
| `--input <file>`         | Read the input as JSON from a file; - reads stdin. |

```bash
coline calendar templates update -w acme --template-id <template-id>
coline calendar templates update -w acme --json '{"templateId":"<template-id>"}' --fields id
```
