Visitor commands: update, delete
The Visitor Verbs update, delete as CLI commands, with inputs, result, refusals and an example.
Reference for Visitor, one group of Visitor commands.
Visitor.update
Changes the given properties of a Visitor. Verb page.
npx startup-builder do Visitor.update --json '<input>' [--try | --send | --do]Emits Visitor.updated.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Visitor. |
firstSeenAt | datetime | When the first request arrived. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
visitor | Visitor | required | The Visitor. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
npx startup-builder do Visitor.update --json '{"id": "visitor_M5gHadysq9", "firstSeenAt": "2026-10-22T12: 00: 00Z"}'Visitor.delete
Deletes a Visitor: a soft delete that keeps its history, undone by Thing.restore. Verb page.
npx startup-builder do Visitor.delete --json '<input>' [--try | --send | --do]Emits Visitor.deleted.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Visitor. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
visitor | Visitor | required | The Visitor. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
npx startup-builder do Visitor.delete --json '{"id": "visitor_M5gHadysq9"}'