Skip to content

Commit 417c6a2

Browse files
committed
standardized more schemas in the open api spec
1 parent 698d602 commit 417c6a2

384 files changed

Lines changed: 8842 additions & 5540 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 80 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ OpenAPI Specification for OneLogin
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 3.1.1
7-
- Package version: 3.1.2
7+
- Package version: 3.1.3
88
- Build package: org.openapitools.codegen.languages.PythonNextgenClientCodegen
99
For more information, please visit [https://support.onelogin.com](https://support.onelogin.com)
1010

@@ -18,9 +18,9 @@ Python 3.7+
1818
If the python package is hosted on a repository, you can install directly using:
1919

2020
```sh
21-
pip install onelogin
21+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
2222
```
23-
(you may need to run `pip` with root permission: `sudo pip install onelogin`)
23+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
2424

2525
Then import the package:
2626
```python
@@ -71,13 +71,13 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
7171
with onelogin.ApiClient(configuration) as api_client:
7272
# Create an instance of the API class
7373
api_instance = onelogin.APIAuthClaimsApi(api_client)
74-
content_type = 'application/json' # str | (default to 'application/json')
7574
api_auth_id = 'api_auth_id_example' # str |
76-
create_auth_claim_request = onelogin.CreateAuthClaimRequest() # CreateAuthClaimRequest | (optional)
75+
content_type = 'application/json' # str | (optional) (default to 'application/json')
76+
auth_claim = onelogin.AuthClaim() # AuthClaim | (optional)
7777

7878
try:
7979
# Create Api Auth Server Claim
80-
api_response = api_instance.create_auth_claim(content_type, api_auth_id, create_auth_claim_request=create_auth_claim_request)
80+
api_response = api_instance.create_auth_claim(api_auth_id, content_type=content_type, auth_claim=auth_claim)
8181
print("The response of APIAuthClaimsApi->create_auth_claim:\n")
8282
pprint(api_response)
8383
except ApiException as e:
@@ -245,80 +245,85 @@ Class | Method | HTTP request | Description
245245

246246
## Documentation For Models
247247

248+
- [ActionObj](docs/ActionObj.md)
248249
- [ActivateMfaFactorsRequest](docs/ActivateMfaFactorsRequest.md)
249250
- [AddClientApp201Response](docs/AddClientApp201Response.md)
250251
- [AddClientAppRequest](docs/AddClientAppRequest.md)
251252
- [AddPrivilegeToRole201Response](docs/AddPrivilegeToRole201Response.md)
252253
- [AddPrivilegeToRoleRequest](docs/AddPrivilegeToRoleRequest.md)
253254
- [AddRolesToUserRequest](docs/AddRolesToUserRequest.md)
255+
- [AltErr](docs/AltErr.md)
256+
- [AppParametersValue](docs/AppParametersValue.md)
254257
- [AssignUsersToPrivilegeRequest](docs/AssignUsersToPrivilegeRequest.md)
258+
- [AuthClaim](docs/AuthClaim.md)
259+
- [AuthFactor](docs/AuthFactor.md)
260+
- [AuthId](docs/AuthId.md)
261+
- [AuthMethod](docs/AuthMethod.md)
262+
- [AuthScope](docs/AuthScope.md)
263+
- [AuthServer](docs/AuthServer.md)
264+
- [AuthServerConfiguration](docs/AuthServerConfiguration.md)
265+
- [Brand](docs/Brand.md)
266+
- [BrandApp](docs/BrandApp.md)
267+
- [BrandBackground](docs/BrandBackground.md)
268+
- [BrandBackgroundUrls](docs/BrandBackgroundUrls.md)
269+
- [BrandLogo](docs/BrandLogo.md)
270+
- [BrandLogoUrls](docs/BrandLogoUrls.md)
271+
- [BrandReq](docs/BrandReq.md)
272+
- [ClientAppFull](docs/ClientAppFull.md)
273+
- [ClockCounter](docs/ClockCounter.md)
274+
- [Condition](docs/Condition.md)
275+
- [ConfigurationOidc](docs/ConfigurationOidc.md)
276+
- [ConfigurationOidcAllOf](docs/ConfigurationOidcAllOf.md)
277+
- [ConfigurationSaml](docs/ConfigurationSaml.md)
278+
- [ConfigurationSamlAllOf](docs/ConfigurationSamlAllOf.md)
279+
- [Connector](docs/Connector.md)
280+
- [CreateApp200Response](docs/CreateApp200Response.md)
255281
- [CreateAppRequest](docs/CreateAppRequest.md)
256-
- [CreateAppRequestOneOf](docs/CreateAppRequestOneOf.md)
257-
- [CreateAppRequestOneOf1](docs/CreateAppRequestOneOf1.md)
258-
- [CreateAppRequestOneOf1Configuration](docs/CreateAppRequestOneOf1Configuration.md)
259-
- [CreateAppRequestOneOf1Parameters](docs/CreateAppRequestOneOf1Parameters.md)
260-
- [CreateAppRequestOneOf1ParametersSamlUsername](docs/CreateAppRequestOneOf1ParametersSamlUsername.md)
261-
- [CreateAppRequestOneOfConfiguration](docs/CreateAppRequestOneOfConfiguration.md)
262-
- [CreateAuthClaimRequest](docs/CreateAuthClaimRequest.md)
263-
- [CreateBrand201Response](docs/CreateBrand201Response.md)
264-
- [CreateBrand201ResponseBackground](docs/CreateBrand201ResponseBackground.md)
265-
- [CreateBrand201ResponseBackgroundUrls](docs/CreateBrand201ResponseBackgroundUrls.md)
266-
- [CreateBrand201ResponseLogo](docs/CreateBrand201ResponseLogo.md)
267-
- [CreateBrand201ResponseLogoUrls](docs/CreateBrand201ResponseLogoUrls.md)
268-
- [CreateBrandRequest](docs/CreateBrandRequest.md)
269282
- [CreateDeviceVerification201Response](docs/CreateDeviceVerification201Response.md)
270283
- [CreateDeviceVerificationRequest](docs/CreateDeviceVerificationRequest.md)
271284
- [CreateFactorRegistration201Response](docs/CreateFactorRegistration201Response.md)
272285
- [CreateFactorRegistrationRequest](docs/CreateFactorRegistrationRequest.md)
273-
- [CreateMessageTemplateRequest](docs/CreateMessageTemplateRequest.md)
274-
- [CreateMessageTemplateRequestTemplate](docs/CreateMessageTemplateRequestTemplate.md)
275-
- [CreateMessageTemplateRequestTemplateOneOf](docs/CreateMessageTemplateRequestTemplateOneOf.md)
276-
- [CreateMessageTemplateRequestTemplateOneOf1](docs/CreateMessageTemplateRequestTemplateOneOf1.md)
277-
- [CreateMessageTemplateRequestTemplateOneOf1AllOf](docs/CreateMessageTemplateRequestTemplateOneOf1AllOf.md)
278-
- [CreateMessageTemplateRequestTemplateOneOfAllOf](docs/CreateMessageTemplateRequestTemplateOneOfAllOf.md)
279286
- [CreatePrivilege200Response](docs/CreatePrivilege200Response.md)
280287
- [CreateRoles201ResponseInner](docs/CreateRoles201ResponseInner.md)
281-
- [CreateScope200Response](docs/CreateScope200Response.md)
282-
- [CreateScopeRequest](docs/CreateScopeRequest.md)
288+
- [Device](docs/Device.md)
289+
- [EmailConfig](docs/EmailConfig.md)
290+
- [EnforcementPoint](docs/EnforcementPoint.md)
291+
- [EnforcementPointResourcesInner](docs/EnforcementPointResourcesInner.md)
283292
- [EnrollMfaFactor200Response](docs/EnrollMfaFactor200Response.md)
293+
- [EnrollMfaFactor200ResponseDataInner](docs/EnrollMfaFactor200ResponseDataInner.md)
284294
- [EnrollMfaFactorRequest](docs/EnrollMfaFactorRequest.md)
295+
- [Error](docs/Error.md)
296+
- [Event](docs/Event.md)
285297
- [GenerateMFAtoken200Response](docs/GenerateMFAtoken200Response.md)
286298
- [GenerateMFAtokenRequest](docs/GenerateMFAtokenRequest.md)
287299
- [GenerateOTP201Response](docs/GenerateOTP201Response.md)
288300
- [GenerateOTPRequest](docs/GenerateOTPRequest.md)
289301
- [GenerateSamlAssert200Response](docs/GenerateSamlAssert200Response.md)
290-
- [GenerateSamlAssertRequest](docs/GenerateSamlAssertRequest.md)
291-
- [GenerateToken200Response](docs/GenerateToken200Response.md)
292-
- [GenerateToken400Response](docs/GenerateToken400Response.md)
293302
- [GenerateTokenRequest](docs/GenerateTokenRequest.md)
303+
- [GenericApp](docs/GenericApp.md)
304+
- [GenericAppConfiguration](docs/GenericAppConfiguration.md)
305+
- [GenericAppProvisioning](docs/GenericAppProvisioning.md)
306+
- [GenericAppSso](docs/GenericAppSso.md)
294307
- [GetAssignedUser200Response](docs/GetAssignedUser200Response.md)
295308
- [GetAuthFactors200Response](docs/GetAuthFactors200Response.md)
296-
- [GetAuthclaims200ResponseInner](docs/GetAuthclaims200ResponseInner.md)
297309
- [GetAuthenticationDevices200ResponseInner](docs/GetAuthenticationDevices200ResponseInner.md)
298-
- [GetBrandApps200ResponseInner](docs/GetBrandApps200ResponseInner.md)
299310
- [GetCustomAttributes200Response](docs/GetCustomAttributes200Response.md)
300311
- [GetEmailSettings200Response](docs/GetEmailSettings200Response.md)
301312
- [GetEmailSettings200ResponseOneOf](docs/GetEmailSettings200ResponseOneOf.md)
302-
- [GetEmailSettings200ResponseOneOf1](docs/GetEmailSettings200ResponseOneOf1.md)
303313
- [GetEnrolledFactors200Response](docs/GetEnrolledFactors200Response.md)
304314
- [GetEnrolledFactors200ResponseData](docs/GetEnrolledFactors200ResponseData.md)
305315
- [GetEnrolledFactors200ResponseDataOtpDevicesInner](docs/GetEnrolledFactors200ResponseDataOtpDevicesInner.md)
306316
- [GetEventById200Response](docs/GetEventById200Response.md)
307-
- [GetEventById200ResponseStatus](docs/GetEventById200ResponseStatus.md)
308317
- [GetEventTypes200Response](docs/GetEventTypes200Response.md)
309318
- [GetEventTypes200ResponseDataInner](docs/GetEventTypes200ResponseDataInner.md)
310319
- [GetEvents200Response](docs/GetEvents200Response.md)
311-
- [GetEvents200ResponseDataInner](docs/GetEvents200ResponseDataInner.md)
312320
- [GetEvents200ResponsePagination](docs/GetEvents200ResponsePagination.md)
313321
- [GetGroups200Response](docs/GetGroups200Response.md)
314-
- [GetGroups200ResponseDataInner](docs/GetGroups200ResponseDataInner.md)
315322
- [GetInviteLink200Response](docs/GetInviteLink200Response.md)
316323
- [GetInviteLinkRequest](docs/GetInviteLinkRequest.md)
317324
- [GetMFAFactors200Response](docs/GetMFAFactors200Response.md)
318325
- [GetMFAFactors200ResponseData](docs/GetMFAFactors200ResponseData.md)
319-
- [GetMFAFactors200ResponseDataAuthFactorsInner](docs/GetMFAFactors200ResponseDataAuthFactorsInner.md)
320326
- [GetRateLimit200Response](docs/GetRateLimit200Response.md)
321-
- [GetRateLimit200ResponseData](docs/GetRateLimit200ResponseData.md)
322327
- [GetRiskScore200Response](docs/GetRiskScore200Response.md)
323328
- [GetRiskScoreRequest](docs/GetRiskScoreRequest.md)
324329
- [GetRiskScores200Response](docs/GetRiskScores200Response.md)
@@ -329,58 +334,71 @@ Class | Method | HTTP request | Description
329334
- [GetRoleByName200Response](docs/GetRoleByName200Response.md)
330335
- [GetRoleByName200ResponseDataInner](docs/GetRoleByName200ResponseDataInner.md)
331336
- [GetRoleByName200ResponsePagination](docs/GetRoleByName200ResponsePagination.md)
332-
- [GetScopes200ResponseInner](docs/GetScopes200ResponseInner.md)
333-
- [GetScopes200ResponseInnerConfiguration](docs/GetScopes200ResponseInnerConfiguration.md)
334-
- [GetScopes401Response](docs/GetScopes401Response.md)
335337
- [GetUserApps200ResponseInner](docs/GetUserApps200ResponseInner.md)
336338
- [GetUserRoles200Response](docs/GetUserRoles200Response.md)
337339
- [GetUserVerification200Response](docs/GetUserVerification200Response.md)
340+
- [Group](docs/Group.md)
338341
- [ListActions200ResponseInner](docs/ListActions200ResponseInner.md)
339-
- [ListAppRules200ResponseInner](docs/ListAppRules200ResponseInner.md)
340-
- [ListApps200ResponseInner](docs/ListApps200ResponseInner.md)
341-
- [ListApps200ResponseInnerProvisioning](docs/ListApps200ResponseInnerProvisioning.md)
342-
- [ListBrands200ResponseInner](docs/ListBrands200ResponseInner.md)
343-
- [ListClientApps200Response](docs/ListClientApps200Response.md)
344-
- [ListClientApps200ResponseScopesInner](docs/ListClientApps200ResponseScopesInner.md)
345342
- [ListConditionOperators200ResponseInner](docs/ListConditionOperators200ResponseInner.md)
346343
- [ListConditions200ResponseInner](docs/ListConditions200ResponseInner.md)
347-
- [ListConnectors200Response](docs/ListConnectors200Response.md)
348344
- [ListMappingActionValues200ResponseInner](docs/ListMappingActionValues200ResponseInner.md)
349345
- [ListMappingConditions200Response](docs/ListMappingConditions200Response.md)
350346
- [ListMappingConditionsOperators200ResponseInner](docs/ListMappingConditionsOperators200ResponseInner.md)
351347
- [ListMappingContionValues200ResponseInner](docs/ListMappingContionValues200ResponseInner.md)
352-
- [ListMappings200ResponseInner](docs/ListMappings200ResponseInner.md)
353-
- [ListMappings200ResponseInnerActionsInner](docs/ListMappings200ResponseInnerActionsInner.md)
354-
- [ListMappings200ResponseInnerConditionsInner](docs/ListMappings200ResponseInnerConditionsInner.md)
355348
- [ListMappingsActions200ResponseInner](docs/ListMappingsActions200ResponseInner.md)
356349
- [ListMessageTemplates200ResponseInner](docs/ListMessageTemplates200ResponseInner.md)
357350
- [ListPrivelegeRoles200Response](docs/ListPrivelegeRoles200Response.md)
358-
- [ListPriveleges200ResponseInner](docs/ListPriveleges200ResponseInner.md)
359-
- [ListPriveleges200ResponseInnerPrivilege](docs/ListPriveleges200ResponseInnerPrivilege.md)
360-
- [ListPriveleges200ResponseInnerPrivilegeStatementInner](docs/ListPriveleges200ResponseInnerPrivilegeStatementInner.md)
361-
- [ListRiskRules200ResponseInner](docs/ListRiskRules200ResponseInner.md)
362-
- [ListRiskRules200ResponseInnerSource](docs/ListRiskRules200ResponseInnerSource.md)
363-
- [ListRoles200ResponseInner](docs/ListRoles200ResponseInner.md)
364-
- [ListUsers200ResponseInner](docs/ListUsers200ResponseInner.md)
351+
- [Locale](docs/Locale.md)
365352
- [LockAccountUserRequest](docs/LockAccountUserRequest.md)
353+
- [Mapping](docs/Mapping.md)
354+
- [MessageTemplate](docs/MessageTemplate.md)
355+
- [MessageTemplateTemplate](docs/MessageTemplateTemplate.md)
356+
- [MessageTemplateTemplateOneOf](docs/MessageTemplateTemplateOneOf.md)
357+
- [MessageTemplateTemplateOneOf1](docs/MessageTemplateTemplateOneOf1.md)
358+
- [OauthToken](docs/OauthToken.md)
359+
- [OidcApp](docs/OidcApp.md)
360+
- [OidcAppAllOf](docs/OidcAppAllOf.md)
361+
- [Privilege](docs/Privilege.md)
362+
- [PrivilegePrivilege](docs/PrivilegePrivilege.md)
363+
- [PrivilegePrivilegeStatementInner](docs/PrivilegePrivilegeStatementInner.md)
364+
- [RateLimit](docs/RateLimit.md)
366365
- [RemoveRoleUsersRequest](docs/RemoveRoleUsersRequest.md)
367366
- [RemoveUserRoleRequest](docs/RemoveUserRoleRequest.md)
368367
- [RemoveUserRoleRequestRoleIdArrayInner](docs/RemoveUserRoleRequestRoleIdArrayInner.md)
368+
- [RequestBrand](docs/RequestBrand.md)
369369
- [RevokeTokensRequest](docs/RevokeTokensRequest.md)
370+
- [RiskDevice](docs/RiskDevice.md)
371+
- [RiskRule](docs/RiskRule.md)
372+
- [RiskUser](docs/RiskUser.md)
373+
- [Role](docs/Role.md)
374+
- [Rule](docs/Rule.md)
375+
- [SamlApp](docs/SamlApp.md)
376+
- [SamlAppAllOf](docs/SamlAppAllOf.md)
377+
- [SamlAppAllOfParameters](docs/SamlAppAllOfParameters.md)
378+
- [SamlAppAllOfParametersSamlUsername](docs/SamlAppAllOfParametersSamlUsername.md)
379+
- [SamlAssert](docs/SamlAssert.md)
380+
- [SamlFactor](docs/SamlFactor.md)
381+
- [Scope](docs/Scope.md)
370382
- [SendInviteLink200Response](docs/SendInviteLink200Response.md)
371383
- [SendInviteLinkRequest](docs/SendInviteLinkRequest.md)
384+
- [Session](docs/Session.md)
372385
- [SetUserStateRequest](docs/SetUserStateRequest.md)
386+
- [Source](docs/Source.md)
387+
- [SsoOidc](docs/SsoOidc.md)
388+
- [SsoSaml](docs/SsoSaml.md)
389+
- [SsoSamlAllOf](docs/SsoSamlAllOf.md)
390+
- [SsoSamlAllOfCertificate](docs/SsoSamlAllOfCertificate.md)
391+
- [TokenClaim](docs/TokenClaim.md)
373392
- [TrackRiskEventRequest](docs/TrackRiskEventRequest.md)
374-
- [TrackRiskEventRequestDevice](docs/TrackRiskEventRequestDevice.md)
375-
- [TrackRiskEventRequestSession](docs/TrackRiskEventRequestSession.md)
376-
- [TrackRiskEventRequestUser](docs/TrackRiskEventRequestUser.md)
377393
- [UpdateClientAppRequest](docs/UpdateClientAppRequest.md)
378394
- [UpdatePasswordInsecureRequest](docs/UpdatePasswordInsecureRequest.md)
379395
- [UpdatePasswordSecureRequest](docs/UpdatePasswordSecureRequest.md)
380396
- [UpdatePrivilege200Response](docs/UpdatePrivilege200Response.md)
381397
- [UpdateRiskRuleRequest](docs/UpdateRiskRuleRequest.md)
398+
- [UpdateRole200Response](docs/UpdateRole200Response.md)
399+
- [User](docs/User.md)
382400
- [VerFactorSaml200Response](docs/VerFactorSaml200Response.md)
383-
- [VerFactorSamlRequest](docs/VerFactorSamlRequest.md)
401+
- [Verb](docs/Verb.md)
384402
- [VerifyMfaFactorRequest](docs/VerifyMfaFactorRequest.md)
385403
- [VerifyUserRegistration200Response](docs/VerifyUserRegistration200Response.md)
386404
- [VerifyUserRegistrationRequest](docs/VerifyUserRegistrationRequest.md)

docs/APIAuthClaimsApi.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Method | HTTP request | Description
1111

1212

1313
# **create_auth_claim**
14-
> int create_auth_claim(content_type, api_auth_id, create_auth_claim_request=create_auth_claim_request)
14+
> int create_auth_claim(api_auth_id, content_type=content_type, auth_claim=auth_claim)
1515
1616
Create Api Auth Server Claim
1717

@@ -44,13 +44,13 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
4444
with onelogin.ApiClient(configuration) as api_client:
4545
# Create an instance of the API class
4646
api_instance = onelogin.APIAuthClaimsApi(api_client)
47-
content_type = 'application/json' # str | (default to 'application/json')
4847
api_auth_id = 'api_auth_id_example' # str |
49-
create_auth_claim_request = onelogin.CreateAuthClaimRequest() # CreateAuthClaimRequest | (optional)
48+
content_type = 'application/json' # str | (optional) (default to 'application/json')
49+
auth_claim = onelogin.AuthClaim() # AuthClaim | (optional)
5050

5151
try:
5252
# Create Api Auth Server Claim
53-
api_response = api_instance.create_auth_claim(content_type, api_auth_id, create_auth_claim_request=create_auth_claim_request)
53+
api_response = api_instance.create_auth_claim(api_auth_id, content_type=content_type, auth_claim=auth_claim)
5454
print("The response of APIAuthClaimsApi->create_auth_claim:\n")
5555
pprint(api_response)
5656
except Exception as e:
@@ -61,9 +61,9 @@ with onelogin.ApiClient(configuration) as api_client:
6161

6262
Name | Type | Description | Notes
6363
------------- | ------------- | ------------- | -------------
64-
**content_type** | **str**| | [default to 'application/json']
6564
**api_auth_id** | **str**| |
66-
**create_auth_claim_request** | [**CreateAuthClaimRequest**](CreateAuthClaimRequest.md)| | [optional]
65+
**content_type** | **str**| | [optional] [default to 'application/json']
66+
**auth_claim** | [**AuthClaim**](AuthClaim.md)| | [optional]
6767

6868
### Return type
6969

@@ -164,7 +164,7 @@ void (empty response body)
164164
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
165165

166166
# **get_authclaims**
167-
> List[GetAuthclaims200ResponseInner] get_authclaims(api_auth_id, content_type=content_type)
167+
> List[TokenClaim] get_authclaims(api_auth_id, content_type=content_type)
168168
169169
Get Api Auth Server claims
170170

@@ -218,7 +218,7 @@ Name | Type | Description | Notes
218218

219219
### Return type
220220

221-
[**List[GetAuthclaims200ResponseInner]**](GetAuthclaims200ResponseInner.md)
221+
[**List[TokenClaim]**](TokenClaim.md)
222222

223223
### Authorization
224224

@@ -239,7 +239,7 @@ Name | Type | Description | Notes
239239
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
240240

241241
# **update_claim**
242-
> CreateScope200Response update_claim(content_type, api_auth_id, claim_id, create_auth_claim_request=create_auth_claim_request)
242+
> AuthId update_claim(api_auth_id, claim_id, content_type=content_type, auth_claim=auth_claim)
243243
244244
Update Api Auth Server Claim
245245

@@ -272,14 +272,14 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
272272
with onelogin.ApiClient(configuration) as api_client:
273273
# Create an instance of the API class
274274
api_instance = onelogin.APIAuthClaimsApi(api_client)
275-
content_type = 'application/json' # str | (default to 'application/json')
276275
api_auth_id = 'api_auth_id_example' # str |
277276
claim_id = 56 # int |
278-
create_auth_claim_request = onelogin.CreateAuthClaimRequest() # CreateAuthClaimRequest | (optional)
277+
content_type = 'application/json' # str | (optional) (default to 'application/json')
278+
auth_claim = onelogin.AuthClaim() # AuthClaim | (optional)
279279

280280
try:
281281
# Update Api Auth Server Claim
282-
api_response = api_instance.update_claim(content_type, api_auth_id, claim_id, create_auth_claim_request=create_auth_claim_request)
282+
api_response = api_instance.update_claim(api_auth_id, claim_id, content_type=content_type, auth_claim=auth_claim)
283283
print("The response of APIAuthClaimsApi->update_claim:\n")
284284
pprint(api_response)
285285
except Exception as e:
@@ -290,14 +290,14 @@ with onelogin.ApiClient(configuration) as api_client:
290290

291291
Name | Type | Description | Notes
292292
------------- | ------------- | ------------- | -------------
293-
**content_type** | **str**| | [default to 'application/json']
294293
**api_auth_id** | **str**| |
295294
**claim_id** | **int**| |
296-
**create_auth_claim_request** | [**CreateAuthClaimRequest**](CreateAuthClaimRequest.md)| | [optional]
295+
**content_type** | **str**| | [optional] [default to 'application/json']
296+
**auth_claim** | [**AuthClaim**](AuthClaim.md)| | [optional]
297297

298298
### Return type
299299

300-
[**CreateScope200Response**](CreateScope200Response.md)
300+
[**AuthId**](AuthId.md)
301301

302302
### Authorization
303303

0 commit comments

Comments
 (0)