Update team

Update a team by slug (staff or team owner).

Endpoint

PUT /api/v1/teams/{team_slug}
Team OwnerStaff

Request

JSON body (optional): name, slug, is_active.

Usage

curl --request PUT --header "Authorization: Bearer $GHIT_API_TOKEN" --header "Content-Type: application/json" --data '{"name":"Platform Engineering"}' "$GHIT_API_URL/v1/teams/platform"

Success

200 OK with updated team.

{ "uuid": "...", "slug": "platform", "name": "Platform Engineering" }

Errors

  • 404 Not Found when team slug does not exist.
  • 409 Conflict for duplicate team slug.

Common auth errors are documented on the API overview page.