Registration programs: update, delete
The Registration Verbs update, delete as MCP do programs, with inputs, result, refusals and an example.
Reference for Registration, one group of Registration programs.
Registration.update
Changes the given properties of a Registration. Verb page.
do: return await $.Registration.update(input)Emits Registration.updated.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Registration. |
registeredAt | datetime | When the place was confirmed. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
registration | Registration | required | The Registration. |
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
{
"name": "do",
"arguments": {
"code": "return await $.Registration.update({ id: 'registration_95lvb7R17L', registeredAt: '2026-10-22T12: 00: 00Z' })"
}
}Registration.delete
Deletes a Registration: a soft delete that keeps its history, undone by Thing.restore. Verb page.
do: return await $.Registration.delete(input)Emits Registration.deleted.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Registration. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
registration | Registration | required | The Registration. |
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
{
"name": "do",
"arguments": {
"code": "return await $.Registration.delete({ id: 'registration_95lvb7R17L' })"
}
}