How to get the list of Organizations a user belongs to in GitHub? -


i'm trying title says, using github's api, i'm trying list of orgs user belongs to... problem, can't find way it.

according api's doc: https://developer.github.com/v3/orgs/ using endpoint:

/users/:user/orgs  

that should list them, it's not doing user, i'm guessing lists orgs created user.

if case, there way around somehow, can list of organizations user belongs to?

it should but, mentioned

since list orgs api list:

  • all public organizations unauthenticated user
  • private , public organizations authenticated users.

maybe user not part of public orgs, private ones.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -