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
// RemoveUsersFromOrgAccess removes users from Codespaces access for an organization.
90
94
//
95
+
// Deprecated: This endpoint has been deprecated by GitHub.
96
+
//
91
97
// GitHub API docs: https://docs.github.com/rest/codespaces/organizations?apiVersion=2022-11-28#remove-users-from-codespaces-access-for-an-organization
Copy file name to clipboardExpand all lines: github/enterprise_code_security_and_analysis.go
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,8 @@ type EnterpriseSecurityAnalysisSettings struct {
21
21
22
22
// GetCodeSecurityAndAnalysis gets code security and analysis features for an enterprise.
23
23
//
24
+
// Deprecated: This endpoint has been deprecated by GitHub.
25
+
//
24
26
// GitHub API docs: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/code-security-and-analysis?apiVersion=2022-11-28#get-code-security-and-analysis-features-for-an-enterprise
25
27
//
26
28
//meta:operation GET /enterprises/{enterprise}/code_security_and_analysis
@@ -43,6 +45,8 @@ func (s *EnterpriseService) GetCodeSecurityAndAnalysis(ctx context.Context, ente
43
45
44
46
// UpdateCodeSecurityAndAnalysis updates code security and analysis features for new repositories in an enterprise.
45
47
//
48
+
// Deprecated: This endpoint has been deprecated by GitHub.
49
+
//
46
50
// GitHub API docs: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/code-security-and-analysis?apiVersion=2022-11-28#update-code-security-and-analysis-features-for-an-enterprise
@@ -66,6 +70,8 @@ func (s *EnterpriseService) UpdateCodeSecurityAndAnalysis(ctx context.Context, e
66
70
// Valid values for securityProduct: "advanced_security", "secret_scanning", "secret_scanning_push_protection".
67
71
// Valid values for enablement: "enable_all", "disable_all".
68
72
//
73
+
// Deprecated: This endpoint has been deprecated by GitHub.
74
+
//
69
75
// GitHub API docs: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/code-security-and-analysis?apiVersion=2022-11-28#enable-or-disable-a-security-feature
70
76
//
71
77
//meta:operation POST /enterprises/{enterprise}/{security_product}/{enablement}
0 commit comments