List Organizations Of A User
List public organization memberships for the specified user.
This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List organizations for the authenticated user API instead.
External Documentation
To learn more, visit the GitHub documentation.
Parameters
Parameter | Description |
---|---|
Page | Page number of the results to fetch. |
Per Page | The number of results per page (max 100). |
Return All Pages | Automatically fetch all resources, page by page. |
Username | The username of the user to list organizations for. |
Example Output
{
"value": [
{
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"description": "A great organization",
"events_url": "https://api.github.com/orgs/github/events",
"hooks_url": "https://api.github.com/orgs/github/hooks",
"id": 1,
"issues_url": "https://api.github.com/orgs/github/issues",
"login": "github",
"members_url": "https://api.github.com/orgs/github/members{/member}",
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
"public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
"repos_url": "https://api.github.com/orgs/github/repos",
"url": "https://api.github.com/orgs/github"
}
]
}
Workflow Library Example
List Organizations of a User with Github and Send Results Via Email
Preview this Workflow on desktop