# GET /admin/orgs only provides public organisations

**URL:** <https://forum.gitea.com/t/get-admin-orgs-only-provides-public-organisations/1343>\
**Category:** Install/Maintain/Configure\
**Created:** [July 30, 2019, 11:29am UTC](https://forum.gitea.com/t/get-admin-orgs-only-provides-public-organisations/1343 "2019-07-30T11:29:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BasicBaer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/basicbaer/32/600_2.png) [@BasicBaer](https://forum.gitea.com/u/BasicBaer)\
**Post date:** [July 30, 2019, 11:29am UTC](https://forum.gitea.com/t/get-admin-orgs-only-provides-public-organisations/1343/1 "2019-07-30T11:29:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vorlon](https://avatars.discourse-cdn.com/v4/letter/v/977dab/32.png) [@vorlon](https://forum.gitea.com/u/vorlon)\
**Post date:** [August 12, 2019, 2:45pm UTC](https://forum.gitea.com/t/get-admin-orgs-only-provides-public-organisations/1343/2 "2019-08-12T14:45:20Z")

</div>

Hi,

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

---

<div class="post-metadata">

**Author:** ![BasicBaer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/basicbaer/32/600_2.png) [@BasicBaer](https://forum.gitea.com/u/BasicBaer)\
**Post date:** [August 13, 2019, 6:30am UTC](https://forum.gitea.com/t/get-admin-orgs-only-provides-public-organisations/1343/3 "2019-08-13T06:30:00Z")

</div>

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