# Gathering commands: update, delete

URL: /code/cli/gathering/records-update · Id: `page:code/cli/gathering/records-update`

> The Gathering Verbs update, delete as CLI commands, with inputs, result, refusals and an example.

Reference for [Gathering](/business/nouns/gathering), one group of [Gathering commands](/code/cli/gathering).

### Gathering.update
Changes the given properties of a Gathering. [Verb page](/business/nouns/gathering/update?interface=cli).

```text
npx startup-builder do Gathering.update --json '<input>' [--try | --send | --do]
```

Emits `Gathering.updated`.

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | The id of the Gathering. |
| `title` | `string` | No | What the Gathering is called on its Page and invitations. |
| `at` | `datetime` | No | When it starts. |
| `capacity` | `integer` | No | The most Registrations it admits before new ones join the waitlist. |
| `recording` | `url` | No | Where the replay lives once it ends. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `gathering` | [Gathering](/business/nouns/gathering) | Yes | The Gathering. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```bash
npx startup-builder do Gathering.update --json '{"id":"gathering_ACB9Q1atRR","title":"Leaseline Pro"}'
```

### Gathering.delete
Deletes a Gathering: a soft delete that keeps its history, undone by `Thing.restore`. [Verb page](/business/nouns/gathering/delete?interface=cli).

```text
npx startup-builder do Gathering.delete --json '<input>' [--try | --send | --do]
```

Emits `Gathering.deleted`.

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | The id of the Gathering. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `gathering` | [Gathering](/business/nouns/gathering) | Yes | The Gathering. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```bash
npx startup-builder do Gathering.delete --json '{"id":"gathering_ACB9Q1atRR"}'
```