Skip to content

Team commands: update, delete

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

Reference for Team, one group of Team commands.

Team.update

Changes the given properties of a Team. Verb page.

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

Emits Team.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Team.
missiontextWhat the Team is for, in one sentence.

Returns

OutputTypeRequiredDescription
teamTeamrequiredThe Team.

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 Team.update --json '{"id":"team_v8KkFBrXCN","mission":"Example mission"}'

Team.delete

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

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

Emits Team.deleted.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Team.

Returns

OutputTypeRequiredDescription
teamTeamrequiredThe Team.

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