You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.
624
+
/// `disabled`: The team is not assigned to any organizations. This is the default when you create a new team.
625
+
/// `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.
626
+
/// `all`: The team is assigned to all current and future organizations in the enterprise.
627
+
///
628
+
///
629
+
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/teams/POST/requestBody/json/organization_selection_type`.
/// Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.
636
+
/// `disabled`: The team is not assigned to any organizations. This is the default when you create a new team.
637
+
/// `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.
638
+
/// `all`: The team is assigned to all current and future organizations in the enterprise.
639
+
///
640
+
///
641
+
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/teams/POST/requestBody/json/organization_selection_type`.
/// The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise).
624
644
///
625
645
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/teams/POST/requestBody/json/group_id`.
@@ -630,22 +650,26 @@ public enum Operations {
630
650
/// - name: The name of the team.
631
651
/// - description: A description of the team.
632
652
/// - syncToOrganizations: Retired: this field is no longer supported.
653
+
/// - organizationSelectionType: Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.
633
654
/// - groupId: The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise).
/// Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.
1037
+
/// `disabled`: The team is not assigned to any organizations. This is the default when you create a new team.
1038
+
/// `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).
1039
+
/// `all`: The team is assigned to all current and future organizations in the enterprise.
1040
+
///
1041
+
///
1042
+
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/teams/{team_slug}/PATCH/requestBody/json/organization_selection_type`.
/// Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.
1049
+
/// `disabled`: The team is not assigned to any organizations. This is the default when you create a new team.
1050
+
/// `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).
1051
+
/// `all`: The team is assigned to all current and future organizations in the enterprise.
1052
+
///
1053
+
///
1054
+
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/teams/{team_slug}/PATCH/requestBody/json/organization_selection_type`.
/// The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group.
1013
1057
///
1014
1058
/// - Remark: Generated from `#/paths/enterprises/{enterprise}/teams/{team_slug}/PATCH/requestBody/json/group_id`.
@@ -1019,22 +1063,26 @@ public enum Operations {
1019
1063
/// - name: A new name for the team.
1020
1064
/// - description: A new description for the team.
1021
1065
/// - syncToOrganizations: Retired: this field is no longer supported.
1066
+
/// - organizationSelectionType: Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.
1022
1067
/// - groupId: The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group.
0 commit comments