You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/v3/orgs/members.md
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,8 @@ title: Organization Members | GitHub API
9
9
10
10
##Members list
11
11
12
-
List all users who are members of an organization. A member is a user that
13
-
belongs to at least 1 team in the organization. If the authenticated user is
14
-
also an owner of this organization then both concealed and public members will
12
+
List all users who are members of an organization. If the authenticated user is
13
+
also a member of this organization then both concealed and public members will
15
14
be returned.
16
15
17
16
GET /orgs/:org/members
@@ -20,7 +19,7 @@ be returned.
20
19
21
20
Name | Type | Description
22
21
--------|---------|--------------
23
-
`filter`|`string` | Filter members returned in the list. Can be one of:<br/>*`2fa_disabled`: Members without[two-factor authentication][2fa-blog] enabled. Available for organization owners.<br/>*`all`: Allmembers the authenticated user can see.<br/><br/>Default:`all`
22
+
`filter`|`string` | Filter members returned in the list. Can be one of:<br/>*`2fa_disabled`: Members without[two-factor authentication][2fa-blog] enabled. Available for organization owners.<br/>*`all`: Allorganization members.<br/><br/>Default:`all`
24
23
`role` |`string` | Filter members returned by their role. Can be one of:<br/>*`all`: All members of the organization, regardless of role.<br/>*`admin`: Organization owners.<br/>*`member`: Non-owner organization members.**This option requires a custom media type to be specified. Please see more in the alert below.**<br/><br/>Default:`all`