Skip to content

auth team

Set the default team for Studio operations.

Synopsis

usage: datachain auth team [-h] [-v] [-q] [--local] [team_name]

Description

This command sets or shows the default team for Studio operations. By default, the team setting is saved globally, but you can use the --local option to set it for the current project. If team_name is not passed, the current team in use is shown to the user.

Arguments

  • team_name - Optional, Name of the team to set as default

Options

  • --local - Set team locally for the current project
  • -h, --help - Show the help message and exit.
  • -v, --verbose - Be verbose.
  • -q, --quiet - Be quiet.

Examples

  1. Set default team for all projects:

    datachain auth team my-team
    

  2. Set default team locally for the current project:

    datachain auth team --local my-team
    

  3. Print the current default in use

    datachain auth team