Skip to content

Thing commands: update, delete

The Thing Verbs update, delete as CLI commands, with inputs, result, refusals and an example.

Reference for Thing, one group of Thing commands.

Thing.update

Changes the given properties of a Thing. Verb page.

Text
npx startup-builder do Thing.update --json '<input>' [--try | --send | --do]

Emits Thing.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Thing.
typelist of NounThe Nouns this Thing is an instance of.
outsidejsonThe ids this Thing has in outside tools, one per Integration, so a re-run matches instead of duplicating.

Returns

OutputTypeRequiredDescription
thingThingrequiredThe Thing.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

Terminal
npx startup-builder do Thing.update --json '{"id":"thing_8ds0r9vvRl","type":["noun_v0akLUrXCN"]}'

Thing.delete

Deletes a Thing: a soft delete that keeps its history, undone by Thing.restore. Verb page.

Text
npx startup-builder do Thing.delete --json '<input>' [--try | --send | --do]

Emits Thing.deleted.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Thing.

Returns

OutputTypeRequiredDescription
thingThingrequiredThe Thing.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

Terminal
npx startup-builder do Thing.delete --json '{"id":"thing_8ds0r9vvRl"}'