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
Copy file name to clipboardExpand all lines: Sources/orgs/Client.swift
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4377,6 +4377,9 @@ public struct Client: APIProtocol {
4377
4377
///
4378
4378
/// Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.
4379
4379
///
4380
+
/// > [!NOTE]
4381
+
/// > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.
@@ -4683,6 +4686,9 @@ public struct Client: APIProtocol {
4683
4686
///
4684
4687
/// If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.
4685
4688
///
4689
+
/// > [!NOTE]
4690
+
/// > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.
Copy file name to clipboardExpand all lines: Sources/orgs/Types.swift
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -454,6 +454,9 @@ public protocol APIProtocol: Sendable {
454
454
///
455
455
/// Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.
456
456
///
457
+
/// > [!NOTE]
458
+
/// > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.
@@ -485,6 +488,9 @@ public protocol APIProtocol: Sendable {
485
488
///
486
489
/// If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.
487
490
///
491
+
/// > [!NOTE]
492
+
/// > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.
/// Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.
1755
1761
///
1762
+
/// > [!NOTE]
1763
+
/// > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.
/// - Remark: Generated from `#/paths//orgs/{org}/members/{username}/delete(orgs/remove-member)`.
1758
1767
public func orgsRemoveMember(
@@ -1810,6 +1819,9 @@ extension APIProtocol {
1810
1819
///
1811
1820
/// If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.
1812
1821
///
1822
+
/// > [!NOTE]
1823
+
/// > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.
/// - Remark: Generated from `#/paths//orgs/{org}/memberships/{username}/delete(orgs/remove-membership-for-user)`.
1815
1827
public func orgsRemoveMembershipForUser(
@@ -4442,6 +4454,8 @@ public enum Components {
4442
4454
public var htmlUrl: Swift.String
4443
4455
/// - Remark: Generated from `#/components/schemas/installation/app_id`.
4444
4456
public var appId: Swift.Int
4457
+
/// - Remark: Generated from `#/components/schemas/installation/client_id`.
4458
+
public var clientId: Swift.String?
4445
4459
/// The ID of the user or organization this token is being scoped to.
4446
4460
///
4447
4461
/// - Remark: Generated from `#/components/schemas/installation/target_id`.
@@ -4480,6 +4494,7 @@ public enum Components {
4480
4494
/// - repositoriesUrl:
4481
4495
/// - htmlUrl:
4482
4496
/// - appId:
4497
+
/// - clientId:
4483
4498
/// - targetId: The ID of the user or organization this token is being scoped to.
4484
4499
/// - targetType:
4485
4500
/// - permissions:
@@ -4501,6 +4516,7 @@ public enum Components {
4501
4516
repositoriesUrl: Swift.String,
4502
4517
htmlUrl: Swift.String,
4503
4518
appId: Swift.Int,
4519
+
clientId: Swift.String? = nil,
4504
4520
targetId: Swift.Int,
4505
4521
targetType: Swift.String,
4506
4522
permissions: Components.Schemas.AppPermissions,
@@ -4522,6 +4538,7 @@ public enum Components {
4522
4538
self.repositoriesUrl = repositoriesUrl
4523
4539
self.htmlUrl = htmlUrl
4524
4540
self.appId = appId
4541
+
self.clientId = clientId
4525
4542
self.targetId = targetId
4526
4543
self.targetType = targetType
4527
4544
self.permissions = permissions
@@ -4544,6 +4561,7 @@ public enum Components {
4544
4561
case repositoriesUrl = "repositories_url"
4545
4562
case htmlUrl = "html_url"
4546
4563
case appId = "app_id"
4564
+
case clientId = "client_id"
4547
4565
case targetId = "target_id"
4548
4566
case targetType = "target_type"
4549
4567
case permissions
@@ -18171,6 +18189,9 @@ public enum Operations {
18171
18189
///
18172
18190
/// Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.
18173
18191
///
18192
+
/// > [!NOTE]
18193
+
/// > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.
/// - Remark: Generated from `#/paths//orgs/{org}/members/{username}/delete(orgs/remove-member)`.
18176
18197
public enum OrgsRemoveMember {
@@ -18740,6 +18761,9 @@ public enum Operations {
18740
18761
///
18741
18762
/// If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.
18742
18763
///
18764
+
/// > [!NOTE]
18765
+
/// > If a user has both direct membership in the organization as well as indirect membership via an enterprise team, only their direct membership will be removed. Their indirect membership via an enterprise team remains until the user is removed from the enterprise team.
0 commit comments