diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 3eb2f1625..475150910 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -50093,7 +50093,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" ], @@ -50193,7 +50193,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" ], @@ -50300,7 +50300,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" ], @@ -51011,7 +51011,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" ], @@ -72105,7 +72105,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "user": { "type": "string", @@ -72848,7 +72848,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "organization": { "type": "string", @@ -677680,7 +677680,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] @@ -677711,7 +677711,7 @@ ], "roles": [ { - "value": "Enterprise Owner", + "value": "enterprise_owner", "primary": false } ] @@ -679193,7 +679193,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 4e7001db3..88c275185 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -18381,6 +18381,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. @@ -18421,6 +18424,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. @@ -18461,6 +18467,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. @@ -18662,6 +18671,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. @@ -24338,7 +24350,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. @@ -24624,7 +24636,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. @@ -109899,7 +109911,7 @@ paths: type: work primary: true roles: - - value: User + - value: user primary: false enterpriseOwner: summary: Enterprise Owner @@ -109920,7 +109932,7 @@ paths: type: work primary: true roles: - - value: Enterprise Owner + - value: enterprise_owner primary: false responses: '201': diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 3eb2f1625..475150910 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -50093,7 +50093,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" ], @@ -50193,7 +50193,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" ], @@ -50300,7 +50300,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" ], @@ -51011,7 +51011,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" ], @@ -72105,7 +72105,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "user": { "type": "string", @@ -72848,7 +72848,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "organization": { "type": "string", @@ -677680,7 +677680,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] @@ -677711,7 +677711,7 @@ ], "roles": [ { - "value": "Enterprise Owner", + "value": "enterprise_owner", "primary": false } ] @@ -679193,7 +679193,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 4e7001db3..88c275185 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -18381,6 +18381,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. @@ -18421,6 +18424,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. @@ -18461,6 +18467,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. @@ -18662,6 +18671,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. @@ -24338,7 +24350,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. @@ -24624,7 +24636,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. @@ -109899,7 +109911,7 @@ paths: type: work primary: true roles: - - value: User + - value: user primary: false enterpriseOwner: summary: Enterprise Owner @@ -109920,7 +109932,7 @@ paths: type: work primary: true roles: - - value: Enterprise Owner + - value: enterprise_owner primary: false responses: '201': diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index fc00f1344..36ae31849 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -9563,7 +9563,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" ], @@ -9605,7 +9605,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" ], @@ -9648,7 +9648,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" ], @@ -9874,7 +9874,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" ], @@ -130045,7 +130045,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "user": { "type": "string", @@ -130246,7 +130246,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "organization": { "type": "string", @@ -337481,7 +337481,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] @@ -337512,7 +337512,7 @@ ], "roles": [ { - "value": "Enterprise Owner", + "value": "enterprise_owner", "primary": false } ] diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 57a93a344..c64017d1e 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -6838,6 +6838,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. @@ -6874,6 +6877,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. @@ -6910,6 +6916,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. @@ -7096,6 +7105,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. @@ -94034,7 +94046,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. @@ -94184,7 +94196,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. @@ -250710,7 +250722,7 @@ components: type: work primary: true roles: - - value: User + - value: user primary: false in-user-owner: summary: Enterprise Owner @@ -250731,7 +250743,7 @@ components: type: work primary: true roles: - - value: Enterprise Owner + - value: enterprise_owner primary: false scim-enterprise-user: value: diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index fc00f1344..36ae31849 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -9563,7 +9563,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" ], @@ -9605,7 +9605,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" ], @@ -9648,7 +9648,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" ], @@ -9874,7 +9874,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" ], @@ -130045,7 +130045,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "user": { "type": "string", @@ -130246,7 +130246,7 @@ }, "enterprise": { "type": "string", - "description": "The unique identifier of the enterprise." + "description": "The name of the enterprise for the usage report." }, "organization": { "type": "string", @@ -337481,7 +337481,7 @@ ], "roles": [ { - "value": "User", + "value": "user", "primary": false } ] @@ -337512,7 +337512,7 @@ ], "roles": [ { - "value": "Enterprise Owner", + "value": "enterprise_owner", "primary": false } ] diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 57a93a344..c64017d1e 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -6838,6 +6838,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. @@ -6874,6 +6877,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. @@ -6910,6 +6916,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. @@ -7096,6 +7105,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. @@ -94034,7 +94046,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. @@ -94184,7 +94196,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. @@ -250710,7 +250722,7 @@ components: type: work primary: true roles: - - value: User + - value: user primary: false in-user-owner: summary: Enterprise Owner @@ -250731,7 +250743,7 @@ components: type: work primary: true roles: - - value: Enterprise Owner + - value: enterprise_owner {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}