# Reserved Act methods: update, delete

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

> The Reserved Act Verbs update, delete as typed SDK methods, with inputs, result, refusals and an example.

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

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

```ts
interface ReservedActVerbs {
  update(input: ReservedActUpdateInput, options?: SB.CallOptions): SB.Call<ReservedAct>
}
```

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**

```ts
import { $ } from 'startup-builder'

const reservedAct = await $.ReservedAct.update({ 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=sdk).

```ts
interface ReservedActVerbs {
  delete(input: ReservedActDeleteInput, options?: SB.CallOptions): SB.Call<ReservedAct>
}
```

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**

```ts
import { $ } from 'startup-builder'

const reservedAct = await $.ReservedAct.delete({ id: 'reserved_PKPVsB1HFf' })
```