API to set visibility of a team

Hi, is there an API to set/update the visibility of a specific team?
I create new teams throught the related POST API and I need to set team’s visibility to “secret”.
It would be great to be able to set that parameter at the creation time, but I could even change the default value (“public”) right after the 201 response.
The problem is that it seems that there aren’t any feature like that available to the developer’s community.

Hi @NDalvise,

You’re correct, there’s no current capability to do that.

Setting and updating permissions in general is one area where the API doesn’t provide much capability. Hopefully as the API team continues to add functionality to move the API closer to the web app in terms of functionality, this is one area where they’ll do some work. :hand_with_index_finger_and_thumb_crossed:

cc: @Kem_Ozbek

A nudge for this too. Always sucks to find the exact problem and no solution :-).

Is there any way to perhaps at least change the default for a company so that teams are created as private? That is a problem in the UI as well, public teams are an unusual need not the norm, at least certainly for us though I would be surprised if we were in the minority there.

Not that I’m aware of, sorry.

Hi, I am also having trouble.

I am trying to set up a large number of goals for my entire organization using the API. However, I am not able to do this because most of the goals need to be registered privately. The reason for keeping goals private is to separate goals between business units.

I am hoping that it will be possible to set permissions through the API.