# Post commands: update

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

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

Reference for [Post](/business/nouns/post), one group of [Post commands](/code/cli/post).

### Post.update
Changes the given properties of a Post. [Verb page](/business/nouns/post/update?interface=cli).

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

Emits `Post.updated`.

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | The id of the Post. |
| `format` | `string` | No | The venue’s format, such as `shortVideo` or `thread`. |
| `publishAt` | `datetime` | No | When it goes out. |
| `claims` | `json` | No | The facts it states, each resolving to a record. |
| `reach` | `integer` | No | How many people saw it, as the venue reports. |

**Returns**

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

**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 Post.update --json '{"id":"post_HiXn57rBdP","publishAt":"2026-10-22T12:00:00Z"}'
```