Skip to content

Commit 0d3f1db

Browse files
CopilotSubterrane
andcommitted
Fix _auth_settings for create_user2 and update_user2 methods
Co-authored-by: Subterrane <5290140+Subterrane@users.noreply.github.com>
1 parent 28cbf14 commit 0d3f1db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

onelogin/api/users_v2_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def create_user2_with_http_info(self, mappings : Annotated[Optional[StrictStr],
180180
_header_params['Content-Type'] = _content_types_list
181181

182182
# authentication setting
183-
_auth_settings = [] # noqa: E501
183+
_auth_settings = ['OAuth2'] # noqa: E501
184184

185185
_response_types_map = {
186186
'201': "User",
@@ -1066,7 +1066,7 @@ def update_user2_with_http_info(self, user_id : Annotated[StrictInt, Field(...,
10661066
_header_params['Content-Type'] = _content_types_list
10671067

10681068
# authentication setting
1069-
_auth_settings = [] # noqa: E501
1069+
_auth_settings = ['OAuth2'] # noqa: E501
10701070

10711071
_response_types_map = {
10721072
'200': "User",

0 commit comments

Comments
 (0)