@@ -115,7 +115,7 @@ func enterpriseSCIMGet[T any](ctx context.Context, client *gh.Client, urlStr str
115115 return client .Do (ctx , req , out )
116116}
117117
118- func enterpriseSCIMListAllGroups (ctx context.Context , client * gh.Client , enterprise string , filter string , excludedAttributes string , count int ) ([]enterpriseSCIMGroup , * enterpriseSCIMListResponse [enterpriseSCIMGroup ], error ) {
118+ func enterpriseSCIMListAllGroups (ctx context.Context , client * gh.Client , enterprise , filter , excludedAttributes string , count int ) ([]enterpriseSCIMGroup , * enterpriseSCIMListResponse [enterpriseSCIMGroup ], error ) {
119119 startIndex := 1
120120 all := make ([]enterpriseSCIMGroup , 0 )
121121 var firstResp * enterpriseSCIMListResponse [enterpriseSCIMGroup ]
@@ -168,7 +168,7 @@ func enterpriseSCIMListAllGroups(ctx context.Context, client *gh.Client, enterpr
168168 return all , firstResp , nil
169169}
170170
171- func enterpriseSCIMListAllUsers (ctx context.Context , client * gh.Client , enterprise string , filter string , excludedAttributes string , count int ) ([]enterpriseSCIMUser , * enterpriseSCIMListResponse [enterpriseSCIMUser ], error ) {
171+ func enterpriseSCIMListAllUsers (ctx context.Context , client * gh.Client , enterprise , filter , excludedAttributes string , count int ) ([]enterpriseSCIMUser , * enterpriseSCIMListResponse [enterpriseSCIMUser ], error ) {
172172 startIndex := 1
173173 all := make ([]enterpriseSCIMUser , 0 )
174174 var firstResp * enterpriseSCIMListResponse [enterpriseSCIMUser ]
@@ -221,26 +221,6 @@ func enterpriseSCIMListAllUsers(ctx context.Context, client *gh.Client, enterpri
221221 return all , firstResp , nil
222222}
223223
224- func enterpriseSCIMGetGroup (ctx context.Context , client * gh.Client , enterprise , scimGroupID string ) (* enterpriseSCIMGroup , error ) {
225- path := fmt .Sprintf ("scim/v2/enterprises/%s/Groups/%s" , enterprise , scimGroupID )
226- group := enterpriseSCIMGroup {}
227- _ , err := enterpriseSCIMGet (ctx , client , path , & group )
228- if err != nil {
229- return nil , err
230- }
231- return & group , nil
232- }
233-
234- func enterpriseSCIMGetUser (ctx context.Context , client * gh.Client , enterprise , scimUserID string ) (* enterpriseSCIMUser , error ) {
235- path := fmt .Sprintf ("scim/v2/enterprises/%s/Users/%s" , enterprise , scimUserID )
236- user := enterpriseSCIMUser {}
237- _ , err := enterpriseSCIMGet (ctx , client , path , & user )
238- if err != nil {
239- return nil , err
240- }
241- return & user , nil
242- }
243-
244224func flattenEnterpriseSCIMMeta (meta * enterpriseSCIMMeta ) []any {
245225 if meta == nil {
246226 return nil
0 commit comments