Skip to content

Commit 129d610

Browse files
Update OpenAPI 3.0 Descriptions
1 parent 93533c7 commit 129d610

24 files changed

+24
-24
lines changed

descriptions/api.github.com/api.github.com.2022-11-28.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20443,7 +20443,7 @@
2044320443
"/orgs/{org}/{security_product}/{enablement}": {
2044420444
"post": {
2044520445
"summary": "Enable or disable a security feature for an organization",
20446-
"description": "> [!WARNING]\n> **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).\n\nEnables or disables the specified security feature for all eligible repositories in an organization. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nThe authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.",
20446+
"description": "> [!WARNING]\n> **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).\n\nEnables or disables the specified security feature for all eligible repositories in an organization. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nThe authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint.",
2044720447
"tags": [
2044820448
"orgs"
2044920449
],

descriptions/api.github.com/api.github.com.2022-11-28.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14929,7 +14929,7 @@ paths:
1492914929

1493014930
The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
1493114931

14932-
OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
14932+
OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint.
1493314933
tags:
1493414934
- orgs
1493514935
operationId: orgs/enable-or-disable-security-product-on-all-org-repos

descriptions/api.github.com/api.github.com.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20443,7 +20443,7 @@
2044320443
"/orgs/{org}/{security_product}/{enablement}": {
2044420444
"post": {
2044520445
"summary": "Enable or disable a security feature for an organization",
20446-
"description": "> [!WARNING]\n> **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).\n\nEnables or disables the specified security feature for all eligible repositories in an organization. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nThe authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.",
20446+
"description": "> [!WARNING]\n> **Deprecation notice:** The ability to enable or disable a security feature for all eligible repositories in an organization is deprecated. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead. For more information, see the [changelog](https://github.blog/changelog/2024-07-22-deprecation-of-api-endpoint-to-enable-or-disable-a-security-feature-for-an-organization/).\n\nEnables or disables the specified security feature for all eligible repositories in an organization. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nThe authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint.",
2044720447
"tags": [
2044820448
"orgs"
2044920449
],

descriptions/api.github.com/api.github.com.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14929,7 +14929,7 @@ paths:
1492914929

1493014930
The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.
1493114931

14932-
OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.
14932+
OAuth app tokens and personal access tokens (classic) need the `admin:org`, `write:org`, or `repo` scopes to use this endpoint.
1493314933
tags:
1493414934
- orgs
1493514935
operationId: orgs/enable-or-disable-security-product-on-all-org-repos

0 commit comments

Comments
 (0)