# Project programs: update, delete

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

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

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

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

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

Emits `Project.updated`.

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | The id of the Project. |
| `startsOn` | `date` | No | When work begins. |
| `targetDate` | `date` | No | When it should be done. |

**Returns**

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

**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 $.Project.update({ id: 'project_pUWTSQuuUM', startsOn: '2026-10-22' })"
  }
}
```

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

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

Emits `Project.deleted`.

**Inputs**

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

**Returns**

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

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