Skip to content

Commit 2712ebb

Browse files
Update OpenAPI 3.1 Descriptions
1 parent 93533c7 commit 2712ebb

24 files changed

+24
-24
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20523,7 +20523,7 @@
2052320523
"/orgs/{org}/{security_product}/{enablement}": {
2052420524
"post": {
2052520525
"summary": "Enable or disable a security feature for an organization",
20526-
"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.",
20526+
"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.",
2052720527
"tags": [
2052820528
"orgs"
2052920529
],

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

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

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

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

descriptions-next/api.github.com/api.github.com.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20523,7 +20523,7 @@
2052320523
"/orgs/{org}/{security_product}/{enablement}": {
2052420524
"post": {
2052520525
"summary": "Enable or disable a security feature for an organization",
20526-
"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.",
20526+
"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.",
2052720527
"tags": [
2052820528
"orgs"
2052920529
],

descriptions-next/api.github.com/api.github.com.yaml

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

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

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

0 commit comments

Comments
 (0)