update-team

Update a team

Auth

Team Owner Staff

Example

ghit-cli update-team platform --name "Platform Engineering"

Expected Response

Updates the resource and prints the updated 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

Update a team

Usage: ghit-cli update-team [OPTIONS] <TEAM_SLUG>

Arguments:
  <TEAM_SLUG>  Team slug

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