# Meeting routes: update, delete

URL: /code/api/meeting/records-update · Id: `page:code/api/meeting/records-update`

> The Meeting Verbs update, delete as api.sb routes, with inputs, result, refusals and an example.

Reference for [Meeting](/business/nouns/meeting), one group of [Meeting routes](/code/api/meeting).

### Meeting.update
Changes the given properties of a Meeting. [Verb page](/business/nouns/meeting/update?interface=api).

```text
PATCH /{namespace}/meetings/{id}
```

Path: `id`. Body, as JSON: the other inputs. Emits `Meeting.updated`.

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | The id of the Meeting. |
| `at` | `datetime` | No | When it starts. |
| `agenda` | `text` | No | What it covers. |
| `transcript` | `text` | No | What was said. |
| `duration` | `integer` | No | How long it runs, in minutes. |
| `medium` | `string` | No | How people meet: `video`, `phone` or `inPerson`. |
| `joinUrl` | `url` | No | The video link attendees join from. |
| `location` | `string` | No | Where it happens, when people meet in person. |
| `meetingType` | [Meeting Type](/business/nouns/meeting-type) | No | The Meeting Type it was booked from, when booked from a link. |

**Returns**

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

**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
curl -X PATCH https://api.sb/leaseline.app/meetings/meeting_TyEQGjh9uX \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"at":"2026-10-22T12:00:00Z"}'
```

```json
{
  "api": "https://api.sb/leaseline.app",
  "meeting": {
    "$id": "https://api.sb/leaseline.app/meetings/meeting_TyEQGjh9uX",
    "$type": "Meeting",
    "at": "2026-10-22T12:00:00Z"
  },
  "action": {
    "$id": "https://api.sb/leaseline.app/actions/act_br07HsG8MG",
    "operation": "Meeting.update",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/leaseline.app/actions/act_br07HsG8MG"
  }
}
```

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

```text
DELETE /{namespace}/meetings/{id}
```

Path: `id`. Emits `Meeting.deleted`.

**Inputs**

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

**Returns**

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

**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
curl -X DELETE https://api.sb/leaseline.app/meetings/meeting_TyEQGjh9uX \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
```

```json
{
  "api": "https://api.sb/leaseline.app",
  "meeting": {
    "$id": "https://api.sb/leaseline.app/meetings/meeting_TyEQGjh9uX",
    "$type": "Meeting",
    "at": "2026-10-22T12:00:00Z"
  },
  "action": {
    "$id": "https://api.sb/leaseline.app/actions/act_br07HsG8MG",
    "operation": "Meeting.delete",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/leaseline.app/actions/act_br07HsG8MG"
  }
}
```