# Registration commands: update, delete

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

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

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

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

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

Emits `Registration.updated`.

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | The id of the Registration. |
| `registeredAt` | `datetime` | No | When the place was confirmed. |

**Returns**

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

**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 Registration.update --json '{"id":"registration_95lvb7R17L","registeredAt":"2026-10-22T12:00:00Z"}'
```

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

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

Emits `Registration.deleted`.

**Inputs**

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

**Returns**

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

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