Skip to main content
Version: Weekly Build

cs create team

Generated from CS CLI version v1.55.0.

Create team

Synopsis​

Create a team in Codesphere or an Organization

cs create team [flags]

Examples​

# Create a team in a specific datacenter
$ cs create team -d <datacenterId> -n <teamName>

# Create a team in a specific datacenter within an organization
$ cs create team -d <datacenterId> -n <teamName> -g <orgId>

Options​

-d, --dc-id int Data center ID
-h, --help help for team
-n, --name string Team name

Options inherited from parent commands​

-a, --api string URL of Codesphere API (can also be CS_API)
-g, --org string Organization ID (relevant for some commands)
-t, --team int Team ID (relevant for some commands, can also be CS_TEAM_ID) (default -1)
-v, --verbose Verbose output
-w, --workspace int Workspace ID (relevant for some commands, can also be CS_WORKSPACE_ID) (default -1)

SEE ALSO​