Implementation commands: update, delete
The Implementation Verbs update, delete as CLI commands, with inputs, result, refusals and an example.
Reference for Implementation, one group of Implementation commands.
Implementation.update
Changes the given properties of an Implementation. Verb page.
npx startup-builder do Implementation.update --json '<input>' [--try | --send | --do]Emits Implementation.updated.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Implementation. |
kind | string | One of managed, custom, or external. | |
endpoint | url | For an external Implementation, where api.sb routes each call. | |
deliverBy | date | For a declared Implementation: when a Function runs the Verb; a missed date refunds every reserve. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
implementation | Implementation | required | The Implementation. |
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 Implementation.update --json '{"id": "implementation_gnulUgZJ7A", "kind": "managed"}'Implementation.delete
Deletes an Implementation: a soft delete that keeps its history, undone by Thing.restore. Verb page.
npx startup-builder do Implementation.delete --json '<input>' [--try | --send | --do]Emits Implementation.deleted.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Implementation. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
implementation | Implementation | required | The Implementation. |
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 Implementation.delete --json '{"id": "implementation_gnulUgZJ7A"}'