diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 93b712234..fccdfc6a8 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -45661,7 +45661,7 @@ "/enterprises/{enterprise}/enterprise-roles/teams/{team_slug}": { "delete": { "summary": "Remove all enterprise roles from a team", - "description": "Removes all assigned enterprise roles from a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Removes all assigned enterprise roles from a team in an enterprise.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], @@ -45761,7 +45761,7 @@ "/enterprises/{enterprise}/enterprise-roles/teams/{team_slug}/{role_id}": { "put": { "summary": "Assign an enterprise role to a team", - "description": "Assigns an enterprise role to a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Assigns an enterprise role to a team in an enterprise.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], @@ -45868,7 +45868,7 @@ }, "delete": { "summary": "Remove an enterprise role from a team", - "description": "Removes an enterprise role from a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Removes an enterprise role from a team in an enterprise.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], @@ -46546,7 +46546,7 @@ "/enterprises/{enterprise}/enterprise-roles/{role_id}/teams": { "get": { "summary": "List teams that are assigned to an enterprise role", - "description": "Lists the teams that are assigned to an enterprise role.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "description": "Lists the teams that are assigned to an enterprise role.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", "tags": [ "enterprise-admin" ], @@ -66482,7 +66482,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "user": { "type": "string", @@ -67209,7 +67209,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "organization": { "type": "string", @@ -579739,7 +579739,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] @@ -579770,7 +579770,7 @@ ], "roles": [ { - "value": "Enterprise Owner", + "value": "enterprise_owner", "primary": false } ] @@ -581054,7 +581054,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 848b55c38..48df2f879 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -17822,6 +17822,9 @@ paths: description: |- Removes all assigned enterprise roles from a team in an enterprise. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -17862,6 +17865,9 @@ paths: description: |- Assigns an enterprise role to a team in an enterprise. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -17902,6 +17908,9 @@ paths: description: |- Removes an enterprise role from a team in an enterprise. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -18103,6 +18112,9 @@ paths: description: |- Lists the teams that are assigned to an enterprise role. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -23655,7 +23667,7 @@ paths: - year enterprise: type: string - description: The unique identifier of the enterprise. + description: The name of the enterprise for the usage report. user: type: string description: The name of the user for the usage report. @@ -23941,7 +23953,7 @@ paths: - year enterprise: type: string - description: The unique identifier of the enterprise. + description: The name of the enterprise for the usage report. organization: type: string description: The name of the organization for the usage report. @@ -107547,7 +107559,7 @@ paths: type: work primary: true roles: - - value: User + - value: user primary: false enterpriseOwner: summary: Enterprise Owner @@ -107568,7 +107580,7 @@ paths: type: work primary: true roles: - - value: Enterprise Owner + - value: enterprise_owner primary: false responses: '201': diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 93b712234..fccdfc6a8 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -45661,7 +45661,7 @@ "/enterprises/{enterprise}/enterprise-roles/teams/{team_slug}": { "delete": { "summary": "Remove all enterprise roles from a team", - "description": "Removes all assigned enterprise roles from a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Removes all assigned enterprise roles from a team in an enterprise.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], @@ -45761,7 +45761,7 @@ "/enterprises/{enterprise}/enterprise-roles/teams/{team_slug}/{role_id}": { "put": { "summary": "Assign an enterprise role to a team", - "description": "Assigns an enterprise role to a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Assigns an enterprise role to a team in an enterprise.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], @@ -45868,7 +45868,7 @@ }, "delete": { "summary": "Remove an enterprise role from a team", - "description": "Removes an enterprise role from a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Removes an enterprise role from a team in an enterprise.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], @@ -46546,7 +46546,7 @@ "/enterprises/{enterprise}/enterprise-roles/{role_id}/teams": { "get": { "summary": "List teams that are assigned to an enterprise role", - "description": "Lists the teams that are assigned to an enterprise role.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "description": "Lists the teams that are assigned to an enterprise role.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", "tags": [ "enterprise-admin" ], @@ -66482,7 +66482,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "user": { "type": "string", @@ -67209,7 +67209,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "organization": { "type": "string", @@ -579739,7 +579739,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] @@ -579770,7 +579770,7 @@ ], "roles": [ { - "value": "Enterprise Owner", + "value": "enterprise_owner", "primary": false } ] @@ -581054,7 +581054,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 848b55c38..48df2f879 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -17822,6 +17822,9 @@ paths: description: |- Removes all assigned enterprise roles from a team in an enterprise. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -17862,6 +17865,9 @@ paths: description: |- Assigns an enterprise role to a team in an enterprise. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -17902,6 +17908,9 @@ paths: description: |- Removes an enterprise role from a team in an enterprise. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -18103,6 +18112,9 @@ paths: description: |- Lists the teams that are assigned to an enterprise role. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -23655,7 +23667,7 @@ paths: - year enterprise: type: string - description: The unique identifier of the enterprise. + description: The name of the enterprise for the usage report. user: type: string description: The name of the user for the usage report. @@ -23941,7 +23953,7 @@ paths: - year enterprise: type: string - description: The unique identifier of the enterprise. + description: The name of the enterprise for the usage report. organization: type: string description: The name of the organization for the usage report. @@ -107547,7 +107559,7 @@ paths: type: work primary: true roles: - - value: User + - value: user primary: false enterpriseOwner: summary: Enterprise Owner @@ -107568,7 +107580,7 @@ paths: type: work primary: true roles: - - value: Enterprise Owner + - value: enterprise_owner primary: false responses: '201': diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index dc1d18dc4..26b5c1c39 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -9537,7 +9537,7 @@ "/enterprises/{enterprise}/enterprise-roles/teams/{team_slug}": { "delete": { "summary": "Remove all enterprise roles from a team", - "description": "Removes all assigned enterprise roles from a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Removes all assigned enterprise roles from a team in an enterprise.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], @@ -9579,7 +9579,7 @@ "/enterprises/{enterprise}/enterprise-roles/teams/{team_slug}/{role_id}": { "put": { "summary": "Assign an enterprise role to a team", - "description": "Assigns an enterprise role to a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Assigns an enterprise role to a team in an enterprise.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], @@ -9622,7 +9622,7 @@ }, "delete": { "summary": "Remove an enterprise role from a team", - "description": "Removes an enterprise role from a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Removes an enterprise role from a team in an enterprise.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], @@ -9848,7 +9848,7 @@ "/enterprises/{enterprise}/enterprise-roles/{role_id}/teams": { "get": { "summary": "List teams that are assigned to an enterprise role", - "description": "Lists the teams that are assigned to an enterprise role.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "description": "Lists the teams that are assigned to an enterprise role.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", "tags": [ "enterprise-admin" ], @@ -128406,7 +128406,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "user": { "type": "string", @@ -128607,7 +128607,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "organization": { "type": "string", @@ -328138,7 +328138,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] @@ -328169,7 +328169,7 @@ ], "roles": [ { - "value": "Enterprise Owner", + "value": "enterprise_owner", "primary": false } ] diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index c93ea4d4d..d5f6f7119 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -6825,6 +6825,9 @@ paths: description: |- Removes all assigned enterprise roles from a team in an enterprise. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -6861,6 +6864,9 @@ paths: description: |- Assigns an enterprise role to a team in an enterprise. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -6897,6 +6903,9 @@ paths: description: |- Removes an enterprise role from a team in an enterprise. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -7083,6 +7092,9 @@ paths: description: |- Lists the teams that are assigned to an enterprise role. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -93310,7 +93322,7 @@ components: - year enterprise: type: string - description: The unique identifier of the enterprise. + description: The name of the enterprise for the usage report. user: type: string description: The name of the user for the usage report. @@ -93460,7 +93472,7 @@ components: - year enterprise: type: string - description: The unique identifier of the enterprise. + description: The name of the enterprise for the usage report. organization: type: string description: The name of the organization for the usage report. @@ -247261,7 +247273,7 @@ components: type: work primary: true roles: - - value: User + - value: user primary: false in-user-owner: summary: Enterprise Owner @@ -247282,7 +247294,7 @@ components: type: work primary: true roles: - - value: Enterprise Owner + - value: enterprise_owner primary: false scim-enterprise-user: value: diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index dc1d18dc4..26b5c1c39 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -9537,7 +9537,7 @@ "/enterprises/{enterprise}/enterprise-roles/teams/{team_slug}": { "delete": { "summary": "Remove all enterprise roles from a team", - "description": "Removes all assigned enterprise roles from a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Removes all assigned enterprise roles from a team in an enterprise.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], @@ -9579,7 +9579,7 @@ "/enterprises/{enterprise}/enterprise-roles/teams/{team_slug}/{role_id}": { "put": { "summary": "Assign an enterprise role to a team", - "description": "Assigns an enterprise role to a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Assigns an enterprise role to a team in an enterprise.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], @@ -9622,7 +9622,7 @@ }, "delete": { "summary": "Remove an enterprise role from a team", - "description": "Removes an enterprise role from a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Removes an enterprise role from a team in an enterprise.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "enterprise-admin" ], @@ -9848,7 +9848,7 @@ "/enterprises/{enterprise}/enterprise-roles/{role_id}/teams": { "get": { "summary": "List teams that are assigned to an enterprise role", - "description": "Lists the teams that are assigned to an enterprise role.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "description": "Lists the teams that are assigned to an enterprise role.\n\n> [!WARNING]\n> This API is not available for Copilot Business for non-GHE.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", "tags": [ "enterprise-admin" ], @@ -128406,7 +128406,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "user": { "type": "string", @@ -128607,7 +128607,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "organization": { "type": "string", @@ -328138,7 +328138,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] @@ -328169,7 +328169,7 @@ ], "roles": [ { - "value": "Enterprise Owner", + "value": "enterprise_owner", "primary": false } ] diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index c93ea4d4d..d5f6f7119 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -6825,6 +6825,9 @@ paths: description: |- Removes all assigned enterprise roles from a team in an enterprise. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -6861,6 +6864,9 @@ paths: description: |- Assigns an enterprise role to a team in an enterprise. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -6897,6 +6903,9 @@ paths: description: |- Removes an enterprise role from a team in an enterprise. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -7083,6 +7092,9 @@ paths: description: |- Lists the teams that are assigned to an enterprise role. + > [!WARNING] + > This API is not available for Copilot Business for non-GHE. + To use this endpoint, the authenticated user must be one of: - An administrator for the enterprise. @@ -93310,7 +93322,7 @@ components: - year enterprise: type: string - description: The unique identifier of the enterprise. + description: The name of the enterprise for the usage report. user: type: string description: The name of the user for the usage report. @@ -93460,7 +93472,7 @@ components: - year enterprise: type: string - description: The unique identifier of the enterprise. + description: The name of the enterprise for the usage report. organization: type: string description: The name of the organization for the usage report. @@ -247261,7 +247273,7 @@ components: type: work primary: true roles: - - value: User + - value: user primary: false in-user-owner: summary: Enterprise Owner @@ -247282,7 +247294,7 @@ components: type: work primary: true roles: - - value: Enterprise Owner + - value: enterprise_owner primary: false scim-enterprise-user: value: diff --git a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json index aa56d88aa..ca54902f7 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json @@ -453235,7 +453235,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] @@ -453266,7 +453266,7 @@ ], "roles": [ { - "value": "Enterprise Owner", + "value": "enterprise_owner", "primary": false } ] @@ -454550,7 +454550,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] diff --git a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml index 845a460c6..b2f338abb 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml @@ -80204,7 +80204,7 @@ paths: type: work primary: true roles: - - value: User + - value: user primary: false enterpriseOwner: summary: Enterprise Owner @@ -80225,7 +80225,7 @@ paths: type: work primary: true roles: - - value: Enterprise Owner + - value: enterprise_owner primary: false responses: '201': diff --git a/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json index aa56d88aa..ca54902f7 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json @@ -453235,7 +453235,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] @@ -453266,7 +453266,7 @@ ], "roles": [ { - "value": "Enterprise Owner", + "value": "enterprise_owner", "primary": false } ] @@ -454550,7 +454550,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] diff --git a/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.yaml b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.yaml index 845a460c6..b2f338abb 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.yaml +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.yaml @@ -80204,7 +80204,7 @@ paths: type: work primary: true roles: - - value: User + - value: user primary: false enterpriseOwner: summary: Enterprise Owner @@ -80225,7 +80225,7 @@ paths: type: work primary: true roles: - - value: Enterprise Owner + - value: enterprise_owner primary: false responses: '201': diff --git a/descriptions/ghes-3.14/ghes-3.14.20{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}