Skip to content

Commit 9b7fb6a

Browse files
docs-botam-stead
andauthored
Update OpenAPI Description (#61094)
Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com>
1 parent 6720e5e commit 9b7fb6a

24 files changed

Lines changed: 456 additions & 4 deletions

File tree

content/rest/code-security/configurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ intro: >-
66
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
77
fpt: '*'
88
ghec: '*'
9-
ghes: '>=3.15'
9+
ghes: '*'
1010
autogenerated: rest
1111
allowTitleToDifferFromFilename: true
1212
category:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: REST API endpoints for enterprise credential authorizations
3+
shortTitle: Credential authorizations
4+
intro: Use the REST API to manage enterprise credential authorizations.
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
6+
ghec: '*'
7+
autogenerated: rest
8+
allowTitleToDifferFromFilename: true
9+
---
10+
11+
<!-- Content after this section is automatically generated -->

content/rest/enterprise-admin/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ children:
1717
- /audit-log
1818
- /bypass-requests
1919
- /code-security-and-analysis
20+
- /credential-authorizations
2021
- /custom-properties
2122
- /custom-properties-for-orgs
2223
- /enterprise-roles

src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,23 @@
447447
}
448448
]
449449
},
450+
"enterprise_credentials": {
451+
"title": "Enterprise credentials",
452+
"displayTitle": "Enterprise permissions for \"Enterprise credentials\"",
453+
"permissions": [
454+
{
455+
"category": "enterprise-admin",
456+
"slug": "revoke-all-credential-authorizations-for-an-enterprise",
457+
"subcategory": "credential-authorizations",
458+
"verb": "post",
459+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-all",
460+
"access": "write",
461+
"user-to-server": true,
462+
"server-to-server": true,
463+
"additional-permissions": false
464+
}
465+
]
466+
},
450467
"enterprise_custom_properties_for_organizations": {
451468
"title": "Enterprise custom properties for organizations",
452469
"displayTitle": "Enterprise permissions for \"Enterprise custom properties for organizations\"",

src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2898,6 +2898,12 @@
28982898
"verb": "get",
28992899
"requestPath": "/enterprises/{enterprise}/consumed-licenses"
29002900
},
2901+
{
2902+
"slug": "revoke-all-credential-authorizations-for-an-enterprise",
2903+
"subcategory": "credential-authorizations",
2904+
"verb": "post",
2905+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-all"
2906+
},
29012907
{
29022908
"slug": "get-all-enterprise-roles-for-an-enterprise",
29032909
"subcategory": "enterprise-roles",

src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3146,6 +3146,12 @@
31463146
"verb": "get",
31473147
"requestPath": "/enterprises/{enterprise}/consumed-licenses"
31483148
},
3149+
{
3150+
"slug": "revoke-all-credential-authorizations-for-an-enterprise",
3151+
"subcategory": "credential-authorizations",
3152+
"verb": "post",
3153+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-all"
3154+
},
31493155
{
31503156
"slug": "get-all-enterprise-roles-for-an-enterprise",
31513157
"subcategory": "enterprise-roles",

src/github-apps/data/ghec-2026-03-10/server-to-server-permissions.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,23 @@
447447
}
448448
]
449449
},
450+
"enterprise_credentials": {
451+
"title": "Enterprise credentials",
452+
"displayTitle": "Enterprise permissions for \"Enterprise credentials\"",
453+
"permissions": [
454+
{
455+
"category": "enterprise-admin",
456+
"slug": "revoke-all-credential-authorizations-for-an-enterprise",
457+
"subcategory": "credential-authorizations",
458+
"verb": "post",
459+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-all",
460+
"access": "write",
461+
"user-to-server": true,
462+
"server-to-server": true,
463+
"additional-permissions": false
464+
}
465+
]
466+
},
450467
"enterprise_custom_properties_for_organizations": {
451468
"title": "Enterprise custom properties for organizations",
452469
"displayTitle": "Enterprise permissions for \"Enterprise custom properties for organizations\"",

src/github-apps/data/ghec-2026-03-10/server-to-server-rest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2898,6 +2898,12 @@
28982898
"verb": "get",
28992899
"requestPath": "/enterprises/{enterprise}/consumed-licenses"
29002900
},
2901+
{
2902+
"slug": "revoke-all-credential-authorizations-for-an-enterprise",
2903+
"subcategory": "credential-authorizations",
2904+
"verb": "post",
2905+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-all"
2906+
},
29012907
{
29022908
"slug": "get-all-enterprise-roles-for-an-enterprise",
29032909
"subcategory": "enterprise-roles",

src/github-apps/data/ghec-2026-03-10/user-to-server-rest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3146,6 +3146,12 @@
31463146
"verb": "get",
31473147
"requestPath": "/enterprises/{enterprise}/consumed-licenses"
31483148
},
3149+
{
3150+
"slug": "revoke-all-credential-authorizations-for-an-enterprise",
3151+
"subcategory": "credential-authorizations",
3152+
"verb": "post",
3153+
"requestPath": "/enterprises/{enterprise}/credential-authorizations/revoke-all"
3154+
},
31493155
{
31503156
"slug": "get-all-enterprise-roles-for-an-enterprise",
31513157
"subcategory": "enterprise-roles",

src/github-apps/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@
6060
"2022-11-28"
6161
]
6262
},
63-
"sha": "12330abe1a9651268439945b92312855bb071532"
63+
"sha": "d0fa019e82a366eaa70a2b6238076d5b3c427c2c"
6464
}

0 commit comments

Comments
 (0)