# Process programs: update, delete

URL: /code/mcp/process/records-update · Id: `page:code/mcp/process/records-update`

> The Process Verbs update, delete as MCP do programs, with inputs, result, refusals and an example.

Reference for [Process](/business/nouns/process), one group of [Process programs](/code/mcp/process).

### Process.update
Changes the given properties of a Process. [Verb page](/business/nouns/process/update?interface=mcp).

```text
do: return await $.Process.update(input)
```

Emits `Process.updated`.

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | The id of the Process. |
| `name` | `string` | No | The name in sentence case, such as `Month-end close`. |
| `says` | `text[]` | No | What a founder says to run, turn on, or ask about it. |
| `settings` | `json` | No | The Settings it reads: key, type, default, the founder’s sentence and the Verb that sets each. |
| `defaultOn` | `string[]` | No | The Product Templates it is on in by default. |
| `wakes` | `json` | No | The Events that wake it in the Startup’s own records. |
| `inputs` | `string[]` | No | The Nouns an Action reads at its start. |
| `outputs` | `string[]` | No | The Nouns a finished Action leaves behind, rolled up from its Workflows. |
| `outcome` | `text` | No | What a finished Action leaves true, in one sentence. |
| `serviceLevel` | `json` | No | Its target duration, clock, escalation Role, and the waits that stop the clock. |
| `scope` | `string` | No | Where it runs: `startup`, `studio`, or `any`. |

**Returns**

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

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

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Process.update({ id: 'process_X2zteZ3CQI', name: 'Leaseline' })"
  }
}
```

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

```text
do: return await $.Process.delete(input)
```

Emits `Process.deleted`.

**Inputs**

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

**Returns**

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

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

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Process.delete({ id: 'process_X2zteZ3CQI' })"
  }
}
```