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 @Admin35,

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