# Person programs: update, delete

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

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

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

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

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

Emits `Person.updated`.

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | The id of the Person. |
| `name` | `string` | No | The legal or personal name. |
| `verified` | `boolean` | No | True once the identity is verified. |

**Returns**

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

**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 $.Person.update({ id: 'person_sLqbXbW683', verified: true })"
  }
}
```

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

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

Emits `Person.deleted`.

**Inputs**

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

**Returns**

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

**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 $.Person.delete({ id: 'person_sLqbXbW683' })"
  }
}
```