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: src/generated/method-types.ts
+49Lines changed: 49 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5845,6 +5845,23 @@ export type RestEndpointMethods = {
5845
5845
};
5846
5846
};
5847
5847
orgs: {
5848
+
/**
5849
+
* Adds a team as a security manager for an organization. For more information, see "[Managing security for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization."
5850
+
*
5851
+
* To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `write:org` scope.
5852
+
*
5853
+
* GitHub Apps must have the `administration` organization read-write permission to use this endpoint.
@@ -6171,6 +6188,22 @@ export type RestEndpointMethods = {
6171
6188
defaults: RequestInterface["defaults"];
6172
6189
endpoint: EndpointInterface<{ url: string }>;
6173
6190
};
6191
+
/**
6192
+
* Lists teams that are security managers for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
6193
+
*
6194
+
* To use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `read:org` scope.
6195
+
*
6196
+
* GitHub Apps must have the `administration` organization read permission to use this endpoint.
* Returns a list of webhook deliveries for a webhook configured in an organization.
6176
6209
*/
@@ -6259,6 +6292,22 @@ export type RestEndpointMethods = {
6259
6292
defaults: RequestInterface["defaults"];
6260
6293
endpoint: EndpointInterface<{ url: string }>;
6261
6294
};
6295
+
/**
6296
+
* Removes the security manager role from a team for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization."
6297
+
*
6298
+
* To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.
6299
+
*
6300
+
* GitHub Apps must have the `administration` organization read-write permission to use this endpoint.
0 commit comments