|
details, err := c.makePublicAPICall("PUT", "v1/team/"+team.Name, bytes.NewBuffer(jsonTeam), nil) |
The bug is that it constructs the URL as /v1/team/{team.Name} instead of /v1/team/{team.Slug}. Since the API identifies teams by slug (like team-abc123), not by display name, this breaks updates.