Skip to content

Commit b1bb078

Browse files
Commit via running ake Sources/orgs
1 parent 202ad53 commit b1bb078

File tree

2 files changed

+24
-8
lines changed

2 files changed

+24
-8
lines changed

Sources/orgs/Client.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,9 @@ public struct Client: APIProtocol {
917917
}
918918
/// List organization webhooks
919919
///
920-
/// You must be an organization owner to use this endpoint.
920+
/// List webhooks for an organization.
921+
///
922+
/// The authenticated user must be an organization owner to use this endpoint.
921923
///
922924
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
923925
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
@@ -1380,7 +1382,9 @@ public struct Client: APIProtocol {
13801382
}
13811383
/// Delete an organization webhook
13821384
///
1383-
/// You must be an organization owner to use this endpoint.
1385+
/// Delete a webhook for an organization.
1386+
///
1387+
/// The authenticated user must be an organization owner to use this endpoint.
13841388
///
13851389
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
13861390
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.

Sources/orgs/Types.swift

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ public protocol APIProtocol: Sendable {
114114
func orgs_sol_list_hyphen_failed_hyphen_invitations(_ input: Operations.orgs_sol_list_hyphen_failed_hyphen_invitations.Input) async throws -> Operations.orgs_sol_list_hyphen_failed_hyphen_invitations.Output
115115
/// List organization webhooks
116116
///
117-
/// You must be an organization owner to use this endpoint.
117+
/// List webhooks for an organization.
118+
///
119+
/// The authenticated user must be an organization owner to use this endpoint.
118120
///
119121
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
120122
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
@@ -165,7 +167,9 @@ public protocol APIProtocol: Sendable {
165167
func orgs_sol_update_hyphen_webhook(_ input: Operations.orgs_sol_update_hyphen_webhook.Input) async throws -> Operations.orgs_sol_update_hyphen_webhook.Output
166168
/// Delete an organization webhook
167169
///
168-
/// You must be an organization owner to use this endpoint.
170+
/// Delete a webhook for an organization.
171+
///
172+
/// The authenticated user must be an organization owner to use this endpoint.
169173
///
170174
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
171175
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
@@ -1000,7 +1004,9 @@ extension APIProtocol {
10001004
}
10011005
/// List organization webhooks
10021006
///
1003-
/// You must be an organization owner to use this endpoint.
1007+
/// List webhooks for an organization.
1008+
///
1009+
/// The authenticated user must be an organization owner to use this endpoint.
10041010
///
10051011
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
10061012
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
@@ -1089,7 +1095,9 @@ extension APIProtocol {
10891095
}
10901096
/// Delete an organization webhook
10911097
///
1092-
/// You must be an organization owner to use this endpoint.
1098+
/// Delete a webhook for an organization.
1099+
///
1100+
/// The authenticated user must be an organization owner to use this endpoint.
10931101
///
10941102
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
10951103
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
@@ -10158,7 +10166,9 @@ public enum Operations {
1015810166
}
1015910167
/// List organization webhooks
1016010168
///
10161-
/// You must be an organization owner to use this endpoint.
10169+
/// List webhooks for an organization.
10170+
///
10171+
/// The authenticated user must be an organization owner to use this endpoint.
1016210172
///
1016310173
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
1016410174
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.
@@ -11118,7 +11128,9 @@ public enum Operations {
1111811128
}
1111911129
/// Delete an organization webhook
1112011130
///
11121-
/// You must be an organization owner to use this endpoint.
11131+
/// Delete a webhook for an organization.
11132+
///
11133+
/// The authenticated user must be an organization owner to use this endpoint.
1112211134
///
1112311135
/// OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or edit
1112411136
/// webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.

0 commit comments

Comments
 (0)