My private github enterprise https://my.company.url/my_sub_org has around 250 repos
which I want to list.
I tried
$ curl -sX GET -H "Authorization: token ${mytoken}" https://my.company.url/api/v3/orgs/my_sub_org/repos?per_page=200| grep ssh_url | awk -F': ' '{print $2}'
but it returns only 100 matching the documentation here https://docs.github.com/en/rest/reference/repos#list-organization-repositories.
I also tried
gh repo list
but returns only stuff I own
and
gh repo my.company.url/my_sub_org
No results.
How do I list all the repos?