tb workspace¶
Manage your workspaces. Global options apply to this command. See Global options.
The following subcommands are available:
| Subcommand | Description | clear [OPTIONS] | Clear a workspace. Only available against Tinybird Local. |
|---|---|---|---|
| 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 [OPTIONS] | Lists members in the current workspace. | ||
| members rm [OPTIONS] | Removes members from the current workspace. | ||
| members set-role [OPTIONS] [guest|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 | When passed, the workspace will be created 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 [guest|viewer|admin] | Sets the role for the members. |
| --user_token TEXT | When passed, Tinybird won't prompt asking for it. |
tb workspace members rm¶
Removes members from the current workspace. Takes a list of members emails as an argument.
| Option | Description |
|---|---|
| --user_token TEXT | When passed, Tinybird won't prompt asking for it. |
tb workspace members set-role¶
Sets the role for existing workspace members.
| Option | Description |
|---|---|
| --user_token TEXT | When passed, Tinybird won't prompt asking for it. |
tb workspace use¶
Switches to another workspace. Use tb workspace ls to list the workspaces you have access to.
| Option | Description |
|---|---|
| --user_token TEXT | When passed, Tinybird won't prompt asking for it. |