Skip to content

Brand commands: update, delete

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

Reference for Brand, one group of Brand commands.

Brand.update

Changes the given properties of a Brand. Verb page.

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

Emits Brand.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Brand.
namestringThe name customers see.
voicetextHow the Brand writes and speaks.
logourlThe logo image.

Returns

OutputTypeRequiredDescription
brandBrandrequiredThe Brand.

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 Brand.update --json '{"id":"brand_PluVQrB1HF","name":"Leaseline"}'

Brand.delete

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

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

Emits Brand.deleted.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Brand.

Returns

OutputTypeRequiredDescription
brandBrandrequiredThe Brand.

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 Brand.delete --json '{"id":"brand_PluVQrB1HF"}'