Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with admin:read
scope to use this endpoint.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Installation
List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.
Filter members returned in the list. Can be one of:
* 2fa_disabled
- Members without two-factor authentication enabled. Available for organization owners.
* all
- All members the authenticated user can see.
Allowed values:2fa_disabledall
Default:all
Filter members returned by their role. Can be one of:
* all
- All members of the organization, regardless of role.
* admin
- Organization owners.
* member
- Non-owner organization members.
Allowed values:alladminmember
Default:all
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Simple User
Example:octocat
Example:1
Example:MDQ6VXNlcjE=
Example:https://github.com/images/error/octocat_happy.gif
Example:41d064eb2195891e12d0413f63227ea7
Example:https://api.github.com/users/octocat
Example:https://github.com/octocat
Example:https://api.github.com/users/octocat/followers
Example:https://api.github.com/users/octocat/following{/other_user}
Example:https://api.github.com/users/octocat/gists{/gist_id}
Example:https://api.github.com/users/octocat/starred{/owner}{/repo}
Example:https://api.github.com/users/octocat/subscriptions
Example:https://api.github.com/users/octocat/orgs
Example:https://api.github.com/users/octocat/repos
Example:https://api.github.com/users/octocat/events{/privacy}
Example:https://api.github.com/users/octocat/received_events
Example:User
Example:"2020-07-09T00:17:55Z"
Check if a user is, publicly or privately, a member of the organization.
Response if requester is an organization member and user is a member
Removing a user from this list will remove them from all teams and they will no longer have any access to the organization’s repositories.
Response
In order to get a user’s membership with an organization, the authenticated user must be an organization member. The state
parameter in the response can be used to identify the user’s membership status.
Response
Org Membership
Example:https://api.github.com/orgs/octocat/memberships/defunkt
The state of the member in the organization. The pending
state indicates the user has not yet accepted an invitation.
Allowed values:activepending
Example:active
The user’s membership type in the organization.
Allowed values:adminmemberbilling_manager
Example:admin
Example:https://api.github.com/orgs/octocat
Organization Simple
Simple User