tb workspace

Manage your workspaces. Global options apply to this command. See Global options.

The following subcommands are available:

SubcommandDescription
create [OPTIONS] WORKSPACE_NAMECreates a new Workspace for your Tinybird user.
currentShows the workspace you're currently authenticated to.
delete [OPTIONS] WORKSPACE_NAME_OR_IDDeletes a Workspace where you are an admin.
lsLists all the workspaces you have access to in the account you're currently authenticated to.
members add [OPTIONS] MEMBERS_EMAILSAdds members to the current workspace.
members lsLists members in the current workspace.
members rm MEMBERS_EMAILSRemoves members from the current workspace.
members set-role [viewer|admin] MEMBERS_EMAILSSets the role for existing Workspace members.
use WORKSPACE_NAME_OR_IDSwitches to another Workspace. Use tb workspace ls to list the Workspaces you have access to.

tb workspace create

Creates a new Workspace for your Tinybird user.

OptionDescription
--organization-id TEXTCreates the new workspace in the specified organization.

tb workspace delete

Deletes a Workspace where you are an admin.

OptionDescription
--yesDon't ask for confirmation.

tb workspace members add

Adds members to the current Workspace. Takes a list of members emails as an argument.

OptionDescription
--role [viewer|admin]Sets the role for the members.
--user_token TEXTOverride local session with this authentication token.

tb workspace members rm

Removes members from the current Workspace. Takes a list of members emails as an argument.

OptionDescription
--user_token TEXTOverride local session with this authentication token.

tb workspace members set-role

Sets the role for existing Workspace members.

OptionDescription
--user_token TEXTOverride local session with this authentication token.

tb workspace use

Switches to another Workspace. Use tb workspace ls to list the Workspaces you have access to.

The command takes the Workspace name or ID as its only argument and requires --cloud. For example: tb --cloud workspace use my_workspace.

Deprecated alias

tb workspace clear is deprecated. Use tb branch clear instead.

Environment support

EnvironmentSupportedDescription
--local✗ NoWorkspace commands are cloud-only.
--cloud✓ YesManages workspaces in Tinybird Cloud.
--branch=BRANCH_NAME✗ NoWorkspace commands are not branch-scoped.
Updated