Github API for Listing Organisations for Authenticated User Doesn't return 2FA enabled Organisations #119637
Unanswered
oindrila-b
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Hi!
I have been trying to use Github REST APIs and octokit.rest.orgs to fetch a list of organisations for am authenticated user. I created a Github App with all the required permissions
[read-only:admin]
to read organisation data and used that app to fetch data, however the list doesn't return the organisations having 2FA enabled. Can someone guide me regarding any extra steps I need to take to getall
the organisations or if Github REST API even returns 2FA enabled organisations at the moment?Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions