create-team

Create a team

Auth

Authenticated

Example

ghit-cli create-team --name "Platform" --slug platform

Expected Response

Creates the resource and prints the created JSON object.

Errors

  • 400 Bad Request for invalid flags/values.
  • 404 Not Found when referenced owners/resources are missing.
  • 409 Conflict for uniqueness or state conflicts.

Common auth errors are documented on the CLI overview page.

Help Output

Create a team

Usage: ghit-cli create-team --name <NAME> --slug <SLUG>

Options:
      --name <NAME>  Team name
      --slug <SLUG>  Team slug
  -h, --help         Print help