# Reserved Act commands: update, delete

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

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

Reference for [Reserved Act](/business/nouns/reserved-act), one group of [Reserved Act commands](/code/cli/reserved-act).

### ReservedAct.update
Changes the given properties of a Reserved Act. [Verb page](/business/nouns/reserved-act/update?interface=cli).

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

Emits `ReservedAct.updated`.

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | The id of the Reserved Act. |
| `jurisdiction` | `string` | No | Where the law reserves it. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `reservedAct` | [Reserved Act](/business/nouns/reserved-act) | Yes | The Reserved Act. |

**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 ReservedAct.update --json '{"id":"reserved_PKPVsB1HFf","jurisdiction":"US-DE"}'
```

### ReservedAct.delete
Deletes a Reserved Act: a soft delete that keeps its history, undone by `Thing.restore`. [Verb page](/business/nouns/reserved-act/delete?interface=cli).

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

Emits `ReservedAct.deleted`.

**Inputs**

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

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `reservedAct` | [Reserved Act](/business/nouns/reserved-act) | Yes | The Reserved Act. |

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