# Meeting Type commands: update, delete

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

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

Reference for [Meeting Type](/business/nouns/meeting-type), one group of [Meeting Type commands](/code/cli/meeting-type).

### MeetingType.update
Changes the given properties of a Meeting Type. [Verb page](/business/nouns/meeting-type/update?interface=cli).

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

Emits `MeetingType.updated`.

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | The id of the Meeting Type. |
| `name` | `string` | No | What the booking page calls it, such as `Intro call`. |
| `duration` | `integer` | No | Minutes each Meeting runs. |
| `medium` | `string` | No | How people meet: `video`, `phone` or `inPerson`. |
| `availability` | [Availability](/business/nouns/availability) | No | The hours it books into. |
| `url` | `url` | No | The booking link, served on the Startup’s Domain once published. |
| `questions` | `string[]` | No | What the booker answers before the time is held. |
| `offer` | [Offer](/business/nouns/offer) | No | The Offer a paid booking accepts first, with its deposit and no-show rule. |

**Returns**

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

**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 MeetingType.update --json '{"id":"mtgtype_qw2d5yGLVN","name":"Problem interview"}'
```

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

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

Emits `MeetingType.deleted`.

**Inputs**

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

**Returns**

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

**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 MeetingType.delete --json '{"id":"mtgtype_qw2d5yGLVN"}'
```