create
create teams
👥 Create a team.
This command supports reading input from a file.
Files can be supplied via the --file flag or piped into the command.
Example of file structure
{
"account_id": "00000000-0000-0000-0000-000000000000",
"description": "My Team Description",
"name": "My Team"
}
Usage​
csph teams create [flags]
Aliases​
teams create, teams new, team create, team new
Options​
Command Specific​
Formatting​
For more information about formatting options, see Formatting.
Available Fields​
account_id, created_at, description, id, members, name, object, owner_id, updated_at
Inherited​
Examples​
# start an interactive prompt to create a team
> csph team create
# create a team with the name "dev"
> csph team create --name dev
# create a team with the name "dev" for a specific account
> csph team create --name dev --account <account-id>
# create a team from a file
> csph team create --file /path/to/team.yaml
# create a team via stdin
> cat /path/to/team.json | csph team create
See also​
- csph teams — manage teams
- csph teams get — get teams
- csph teams list — list teams
- csph teams update — update teams
- csph teams delete — delete teams
- csph teams invite — invite a user to the account