tb workspace¶
Manage your workspaces. Global options apply to this command. See Global options.
tb workspace is cloud-only. Workspace operations run against Tinybird Cloud account/workspace metadata.
The following subcommands are available:
| Subcommand | Description |
|---|---|
| create [OPTIONS] WORKSPACE_NAME | Creates a new Workspace for your Tinybird user. |
| current | Shows the workspace you're currently authenticated to. |
| delete [OPTIONS] WORKSPACE_NAME_OR_ID | Deletes a Workspace where you are an admin. |
| ls | Lists all the workspaces you have access to in the account you're currently authenticated to. |
| members add [OPTIONS] MEMBERS_EMAILS | Adds members to the current workspace. |
| members ls | Lists members in the current workspace. |
| members rm MEMBERS_EMAILS | Removes members from the current workspace. |
| members set-role [viewer|admin] MEMBERS_EMAILS | Sets the role for existing Workspace members. |
| use WORKSPACE_NAME_OR_ID | Switches 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.
| Option | Description |
|---|---|
| --organization-id TEXT | Creates the new workspace in the specified organization. |
tb workspace delete¶
Deletes a Workspace where you are an admin.
| Option | Description |
|---|---|
| --yes | Don't ask for confirmation. |
tb workspace members add¶
Adds members to the current Workspace. Takes a list of members emails as an argument.
| Option | Description |
|---|---|
| --role [viewer|admin] | Sets the role for the members. |
| --user_token TEXT | Override 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.
| Option | Description |
|---|---|
| --user_token TEXT | Override local session with this authentication token. |
tb workspace members set-role¶
Sets the role for existing Workspace members.
| Option | Description |
|---|---|
| --user_token TEXT | Override 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¶
| Environment | Supported | Description |
|---|---|---|
--local | ✗ No | Workspace commands are cloud-only. |
--cloud | ✓ Yes | Manages workspaces in Tinybird Cloud. |
--branch=BRANCH_NAME | ✗ No | Workspace commands are not branch-scoped. |