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: src/rest/data/fpt-2022-11-28/schema.json
+74-2
Original file line number
Diff line number
Diff line change
@@ -243374,6 +243374,76 @@
243374
243374
}
243375
243375
]
243376
243376
},
243377
+
"credentials": {
243378
+
"revoke": [
243379
+
{
243380
+
"serverUrl": "https://api.github.com",
243381
+
"verb": "post",
243382
+
"requestPath": "/credentials/revoke",
243383
+
"title": "Revoke a list of credentials",
243384
+
"category": "credentials",
243385
+
"subcategory": "revoke",
243386
+
"parameters": [],
243387
+
"bodyParameters": [
243388
+
{
243389
+
"type": "array of strings",
243390
+
"name": "credentials",
243391
+
"in": "body",
243392
+
"description": "<p>A list of credentials to be revoked, up to 1000 per request.</p>",
243393
+
"isRequired": true
243394
+
}
243395
+
],
243396
+
"progAccess": {
243397
+
"userToServerRest": true,
243398
+
"serverToServer": true,
243399
+
"fineGrainedPat": true,
243400
+
"permissions": [],
243401
+
"allowPermissionlessAccess": true
243402
+
},
243403
+
"codeExamples": [
243404
+
{
243405
+
"key": "default",
243406
+
"request": {
243407
+
"contentType": "application/json",
243408
+
"description": "Example",
243409
+
"acceptHeader": "application/vnd.github.v3+json",
243410
+
"bodyParameters": {
243411
+
"credentials": [
243412
+
"ghp_1234567890abcdef1234567890abcdef12345678",
243413
+
"ghp_abcdef1234567890abcdef1234567890abcdef12"
243414
+
]
243415
+
}
243416
+
},
243417
+
"response": {
243418
+
"statusCode": "202",
243419
+
"contentType": "application/json",
243420
+
"description": "<p>Accepted</p>",
243421
+
"example": null,
243422
+
"schema": {
243423
+
"type": "object"
243424
+
}
243425
+
}
243426
+
}
243427
+
],
243428
+
"previews": [],
243429
+
"descriptionHTML": "<p>Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. It can also be used for credentials associated with an old user account that you no longer have access to. Credential owners will be notified of the revocation.</p>\n<p>This endpoint currently accepts the following credential types:</p>\n<ul>\n<li>Personal access tokens (classic)</li>\n<li>Fine-grained personal access tokens</li>\n</ul>\n<p>Revoked credentials may impact users on GitHub Free, Pro, & Team and GitHub Enterprise Cloud, and GitHub Enterprise Cloud with Enterprise Managed Users.\nGitHub cannot reactivate any credentials that have been revoked; new credentials will need to be generated.</p>\n<p>To prevent abuse, this API is limited to only 60 unauthenticated requests per hour and a max of 1000 tokens per API request.</p>\n<div class=\"ghd-alert ghd-alert-accent\"><p class=\"ghd-alert-title\"><svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon mr-2\" aria-hidden><path d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"></path></svg>Note</p>\n<p>\nAny authenticated requests will return a 403.</p>\n</div>",
243430
+
"statusCodes": [
243431
+
{
243432
+
"httpStatusCode": "202",
243433
+
"description": "<p>Accepted</p>"
243434
+
},
243435
+
{
243436
+
"httpStatusCode": "422",
243437
+
"description": "<p>Validation failed, or the endpoint has been spammed.</p>"
243438
+
},
243439
+
{
243440
+
"httpStatusCode": "500",
243441
+
"description": "<p>Internal Error</p>"
243442
+
}
243443
+
]
243444
+
}
243445
+
]
243446
+
},
243377
243447
"dependabot": {
243378
243448
"alerts": [
243379
243449
{
@@ -397864,13 +397934,14 @@
397864
397934
},
397865
397935
{
397866
397936
"name": "filter",
397867
-
"description": "<p>Filter members returned in the list. <code>2fa_disabled</code> means that only members without <a href=\"https://github.com/blog/1614-two-factor-authentication\">two-factor authentication</a> enabled will be returned. This options is only available for organization owners.</p>",
397937
+
"description": "<p>Filter members returned in the list. <code>2fa_disabled</code> means that only members without <a href=\"https://github.com/blog/1614-two-factor-authentication\">two-factor authentication</a> enabled will be returned. <code>2fa_insecure</code> means that only members with <a href=\"https://docs.github.com/organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/requiring-two-factor-authentication-in-your-organization#requiring-secure-methods-of-two-factor-authentication-in-your-organization\">insecure 2FA methods</a> will be returned. These options are only available for organization owners.</p>",
397868
397938
"in": "query",
397869
397939
"required": false,
397870
397940
"schema": {
397871
397941
"type": "string",
397872
397942
"enum": [
397873
397943
"2fa_disabled",
397944
+
"2fa_insecure",
397874
397945
"all"
397875
397946
],
397876
397947
"default": "all"
@@ -403906,13 +403977,14 @@
403906
403977
},
403907
403978
{
403908
403979
"name": "filter",
403909
-
"description": "<p>Filter the list of outside collaborators. <code>2fa_disabled</code> means that only outside collaborators without <a href=\"https://github.com/blog/1614-two-factor-authentication\">two-factor authentication</a> enabled will be returned.</p>",
403980
+
"description": "<p>Filter the list of outside collaborators. <code>2fa_disabled</code> means that only outside collaborators without <a href=\"https://github.com/blog/1614-two-factor-authentication\">two-factor authentication</a> enabled will be returned. <code>2fa_insecure</code> means that only outside collaborators with <a href=\"https://docs.github.com/organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/requiring-two-factor-authentication-in-your-organization#requiring-secure-methods-of-two-factor-authentication-in-your-organization\">insecure 2FA methods</a> will be returned.</p>",
0 commit comments