Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitab78280

Browse files
committed
Merge pull request#85 from github/2fa-filter
Document filter for auditing 2FA
2 parents5f260f1 +86ee024 commitab78280

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
kind:change
3+
title:Audit organization members for two-factor authentication
4+
created_at:2014-01-29
5+
author_name:pengwynn
6+
---
7+
8+
We've added a[new filter][filter] for listing members of an organization without
9+
[two-factor authentication][2fa-blog] enabled:
10+
11+
12+
<preclass="terminal">
13+
$ curl -H "Authorization: token [yours]" \
14+
https://api.github.com/orgs/octokit/members\?filter\=2fa_disabled
15+
</pre>
16+
17+
The new filter is available for owners of organizations with private
18+
repositories. Happy auditing and[send us your feedback or questions][contact].
19+
20+
[filter]:/v3/orgs/members/#audit-two-factor-auth
21+
[2fa-blog]:https://github.com/blog/1614-two-factor-authentication
22+
[contact]:https://github.com/contact?form[subject]=API+2FA+filter
23+

‎content/v3/orgs/members.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ will be redirected to the [public members list](#public-members-list).
1717

1818
GET /orgs/:org/members
1919

20+
###Parameters {#audit-two-factor-auth}
21+
22+
Name | Type | Description
23+
--------|---------|--------------
24+
`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 owners of organizations with private repositories.<br/>*`all`: All members the authenticated user can see.<br/><br/>Default:`all`
25+
26+
[2fa-blog]:https://github.com/blog/1614-two-factor-authentication
27+
2028
###Response
2129

2230
<%= headers 200 %>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp