# List private repos of an organisation

**URL:** <https://forum.gitea.com/t/list-private-repos-of-an-organisation/10228>\
**Category:** API/SDK/Tea/HelmChart/Terraform\
**Created:** [December 10, 2024, 6:52pm UTC](https://forum.gitea.com/t/list-private-repos-of-an-organisation/10228 "2024-12-10T18:52:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gitea-noob](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@gitea-noob](https://forum.gitea.com/u/gitea-noob)\
**Post date:** [December 10, 2024, 6:52pm UTC](https://forum.gitea.com/t/list-private-repos-of-an-organisation/10228/1 "2024-12-10T18:52:52Z")

</div>

I need to list all repos of an organisation including private ones. I am the owner of that org and therefor of all repos in that org.

I tried

```sh
curl -H "Authorization: Bearer THEACCESSTOKEN" \
"https://try.gitea.com/api/v1/orgs/THE_ORGA_NAME/repos" 

```

but that only returns public repos. How do I also get the private ones?

Since there are lost of private repos making them public by hand is discuraged…

bye  
GN
