GET /admin/orgs only provides public organisations

Is it on purpose that the “GET /admin/orgs” API call only returns a list of organisations that are public, but not the ones that have visibility set to either limited or private?

And if this is on purpose, how do I retrieve a complete list of organisations via the API?

The account used has the admin flag set. Or is that not enough and additional flags are needed?

TIA

BasicBaer

Hi,

there is actually an issue on github for this: https://github.com/go-gitea/gitea/issues/7719 It appears this should be fixed in the next release of gitea.

Thank you for the information. Meanwhile I found a better solution to my problem so that I donÄt need that any more :slight_smile: