kinde_sdk 1.6.4 → 1.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/kinde_sdk/auth_controller.rb +2 -0
- data/app/helpers/auth_helper.rb +4 -4
- data/kinde_api/Gemfile +9 -0
- data/kinde_api/README.md +316 -47
- data/kinde_api/Rakefile +10 -0
- data/kinde_api/docs/APIsApi.md +569 -60
- data/kinde_api/docs/AddAPIScopeRequest.md +20 -0
- data/kinde_api/docs/AddAPIsRequest.md +4 -4
- data/kinde_api/docs/AddOrganizationUsersRequestUsersInner.md +1 -1
- data/kinde_api/docs/AddRoleScopeRequest.md +18 -0
- data/kinde_api/docs/AddRoleScopeResponse.md +20 -0
- data/kinde_api/docs/ApplicationsApi.md +465 -38
- data/kinde_api/docs/AuthorizeAppApiResponse.md +24 -0
- data/kinde_api/docs/BillingAgreementsApi.md +157 -0
- data/kinde_api/docs/BillingEntitlementsApi.md +89 -0
- data/kinde_api/docs/BillingMeterUsageApi.md +77 -0
- data/kinde_api/docs/BusinessApi.md +27 -66
- data/kinde_api/docs/CallbacksApi.md +25 -25
- data/kinde_api/docs/Category.md +20 -0
- data/kinde_api/docs/ConnectedAppsApi.md +8 -8
- data/kinde_api/docs/Connection.md +22 -0
- data/kinde_api/docs/ConnectionConnection.md +24 -0
- data/kinde_api/docs/ConnectionsApi.md +439 -0
- data/kinde_api/docs/CreateApiScopesResponse.md +22 -0
- data/kinde_api/docs/CreateApiScopesResponseScope.md +18 -0
- data/kinde_api/docs/CreateApisResponse.md +22 -0
- data/kinde_api/docs/CreateApisResponseApi.md +18 -0
- data/kinde_api/docs/CreateApplicationRequest.md +3 -3
- data/kinde_api/docs/CreateApplicationResponseApplication.md +4 -4
- data/kinde_api/docs/CreateBillingAgreementRequest.md +24 -0
- data/kinde_api/docs/CreateCategoryRequest.md +20 -0
- data/kinde_api/docs/CreateCategoryResponse.md +22 -0
- data/kinde_api/docs/CreateCategoryResponseCategory.md +18 -0
- data/kinde_api/docs/CreateConnectionRequest.md +28 -0
- data/kinde_api/docs/CreateConnectionRequestOptions.md +51 -0
- data/kinde_api/docs/CreateConnectionRequestOptionsOneOf.md +22 -0
- data/kinde_api/docs/CreateConnectionRequestOptionsOneOf1.md +34 -0
- data/kinde_api/docs/CreateConnectionRequestOptionsOneOf2.md +44 -0
- data/kinde_api/docs/CreateConnectionResponse.md +22 -0
- data/kinde_api/docs/CreateConnectionResponseConnection.md +18 -0
- data/kinde_api/docs/CreateEnvironmentVariableRequest.md +22 -0
- data/kinde_api/docs/CreateEnvironmentVariableResponse.md +22 -0
- data/kinde_api/docs/CreateEnvironmentVariableResponseEnvironmentVariable.md +18 -0
- data/kinde_api/docs/CreateIdentityResponse.md +22 -0
- data/kinde_api/docs/CreateIdentityResponseIdentity.md +18 -0
- data/kinde_api/docs/CreateMeterUsageRecordRequest.md +26 -0
- data/kinde_api/docs/CreateMeterUsageRecordResponse.md +20 -0
- data/kinde_api/docs/CreateOrganizationRequest.md +17 -7
- data/kinde_api/docs/CreateOrganizationResponse.md +4 -4
- data/kinde_api/docs/CreateOrganizationResponseOrganization.md +4 -2
- data/kinde_api/docs/CreatePropertyRequest.md +30 -0
- data/kinde_api/docs/CreatePropertyResponse.md +22 -0
- data/kinde_api/docs/CreatePropertyResponseProperty.md +18 -0
- data/kinde_api/docs/CreateRolesResponse.md +22 -0
- data/kinde_api/docs/CreateRolesResponseRole.md +18 -0
- data/kinde_api/docs/CreateUserIdentityRequest.md +24 -0
- data/kinde_api/docs/CreateUserRequest.md +3 -1
- data/kinde_api/docs/CreateUserRequestIdentitiesInner.md +3 -1
- data/kinde_api/docs/CreateUserRequestIdentitiesInnerDetails.md +7 -1
- data/kinde_api/docs/CreateUserRequestProfile.md +3 -1
- data/kinde_api/docs/CreateUserResponse.md +1 -1
- data/kinde_api/docs/CreateWebHookRequest.md +24 -0
- data/kinde_api/docs/CreateWebhookResponse.md +22 -0
- data/kinde_api/docs/CreateWebhookResponseWebhook.md +20 -0
- data/kinde_api/docs/DeleteApiResponse.md +20 -0
- data/kinde_api/docs/DeleteEnvironmentVariableResponse.md +20 -0
- data/kinde_api/docs/DeleteRoleScopeResponse.md +20 -0
- data/kinde_api/docs/DeleteWebhookResponse.md +20 -0
- data/kinde_api/docs/EnvironmentVariable.md +26 -0
- data/kinde_api/docs/EnvironmentVariablesApi.md +356 -0
- data/kinde_api/docs/EnvironmentsApi.md +281 -5
- data/kinde_api/docs/EventType.md +26 -0
- data/kinde_api/docs/FeatureFlagsApi.md +4 -4
- data/kinde_api/docs/GetApiResponse.md +22 -0
- data/kinde_api/docs/GetApiResponseApi.md +28 -0
- data/kinde_api/docs/GetApiResponseApiApplicationsInner.md +24 -0
- data/kinde_api/docs/GetApiResponseApiScopesInner.md +20 -0
- data/kinde_api/docs/GetApiScopeResponse.md +22 -0
- data/kinde_api/docs/GetApiScopesResponse.md +22 -0
- data/kinde_api/docs/GetApiScopesResponseScopesInner.md +22 -0
- data/kinde_api/docs/GetApisResponse.md +24 -0
- data/kinde_api/docs/GetApisResponseApisInner.md +26 -0
- data/kinde_api/docs/GetApisResponseApisInnerScopesInner.md +20 -0
- data/kinde_api/docs/GetApplicationResponseApplication.md +11 -5
- data/kinde_api/docs/GetBillingAgreementsResponse.md +24 -0
- data/kinde_api/docs/GetBillingAgreementsResponseAgreementsInner.md +26 -0
- data/kinde_api/docs/GetBillingAgreementsResponseAgreementsInnerEntitlementsInner.md +20 -0
- data/kinde_api/docs/GetBillingEntitlementsResponse.md +26 -0
- data/kinde_api/docs/GetBillingEntitlementsResponseEntitlementsInner.md +32 -0
- data/kinde_api/docs/GetBillingEntitlementsResponsePlansInner.md +20 -0
- data/kinde_api/docs/GetBusinessResponse.md +22 -0
- data/kinde_api/docs/GetBusinessResponseBusiness.md +38 -0
- data/kinde_api/docs/GetCategoriesResponse.md +24 -0
- data/kinde_api/docs/GetConnectionsResponse.md +24 -0
- data/kinde_api/docs/GetEnvironmentResponse.md +22 -0
- data/kinde_api/docs/GetEnvironmentResponseEnvironment.md +68 -0
- data/kinde_api/docs/GetEnvironmentResponseEnvironmentBackgroundColor.md +22 -0
- data/kinde_api/docs/GetEnvironmentResponseEnvironmentLinkColor.md +22 -0
- data/kinde_api/docs/GetEnvironmentVariableResponse.md +22 -0
- data/kinde_api/docs/GetEnvironmentVariablesResponse.md +24 -0
- data/kinde_api/docs/GetEventResponse.md +22 -0
- data/kinde_api/docs/GetEventResponseEvent.md +26 -0
- data/kinde_api/docs/GetEventTypesResponse.md +22 -0
- data/kinde_api/docs/GetIdentitiesResponse.md +24 -0
- data/kinde_api/docs/GetIndustriesResponse.md +22 -0
- data/kinde_api/docs/GetIndustriesResponseIndustriesInner.md +20 -0
- data/kinde_api/docs/GetOrganizationResponse.md +72 -0
- data/kinde_api/docs/GetOrganizationResponseBilling.md +20 -0
- data/kinde_api/docs/GetOrganizationResponseBillingAgreementsInner.md +20 -0
- data/kinde_api/docs/GetOrganizationUsersResponse.md +2 -2
- data/kinde_api/docs/GetOrganizationsResponse.md +4 -4
- data/kinde_api/docs/GetPropertiesResponse.md +24 -0
- data/kinde_api/docs/GetPropertyValuesResponse.md +24 -0
- data/kinde_api/docs/GetRoleResponse.md +22 -0
- data/kinde_api/docs/GetRoleResponseRole.md +26 -0
- data/kinde_api/docs/GetTimezonesResponse.md +22 -0
- data/kinde_api/docs/GetTimezonesResponseTimezonesInner.md +20 -0
- data/kinde_api/docs/GetUserMfaResponse.md +22 -0
- data/kinde_api/docs/GetUserMfaResponseMfa.md +30 -0
- data/kinde_api/docs/GetUserSessionsResponse.md +24 -0
- data/kinde_api/docs/GetUserSessionsResponseSessionsInner.md +40 -0
- data/kinde_api/docs/GetWebhooksResponse.md +22 -0
- data/kinde_api/docs/IdentitiesApi.md +219 -0
- data/kinde_api/docs/Identity.md +34 -0
- data/kinde_api/docs/IndustriesApi.md +14 -21
- data/kinde_api/docs/LogoutRedirectUrls.md +6 -2
- data/kinde_api/docs/MFAApi.md +77 -0
- data/kinde_api/docs/NotFoundResponse.md +18 -0
- data/kinde_api/docs/NotFoundResponseErrors.md +20 -0
- data/kinde_api/docs/OAuthApi.md +32 -97
- data/kinde_api/docs/OrganizationItemSchema.md +28 -0
- data/kinde_api/docs/OrganizationUser.md +17 -11
- data/kinde_api/docs/OrganizationsApi.md +1440 -210
- data/kinde_api/docs/Permissions.md +1 -1
- data/kinde_api/docs/PermissionsApi.md +7 -7
- data/kinde_api/docs/PropertiesApi.md +297 -0
- data/kinde_api/docs/Property.md +28 -0
- data/kinde_api/docs/PropertyCategoriesApi.md +227 -0
- data/kinde_api/docs/PropertyValue.md +26 -0
- data/kinde_api/docs/ReadEnvLogoResponse.md +22 -0
- data/kinde_api/docs/ReadEnvLogoResponseLogosInner.md +20 -0
- data/kinde_api/docs/ReadLogoResponse.md +22 -0
- data/kinde_api/docs/ReadLogoResponseLogosInner.md +22 -0
- data/kinde_api/docs/ReplaceConnectionRequest.md +24 -0
- data/kinde_api/docs/ReplaceConnectionRequestOptions.md +51 -0
- data/kinde_api/docs/ReplaceConnectionRequestOptionsOneOf.md +32 -0
- data/kinde_api/docs/ReplaceConnectionRequestOptionsOneOf1.md +40 -0
- data/kinde_api/docs/ReplaceMFARequest.md +20 -0
- data/kinde_api/docs/ReplaceOrganizationMFARequest.md +18 -0
- data/kinde_api/docs/RolePermissionsResponse.md +24 -0
- data/kinde_api/docs/RoleScopesResponse.md +22 -0
- data/kinde_api/docs/Roles.md +4 -2
- data/kinde_api/docs/RolesApi.md +338 -54
- data/kinde_api/docs/Scopes.md +24 -0
- data/kinde_api/docs/SearchApi.md +89 -0
- data/kinde_api/docs/SearchUsersResponse.md +22 -0
- data/kinde_api/docs/SearchUsersResponseResultsInner.md +46 -0
- data/kinde_api/docs/SetUserPasswordRequest.md +26 -0
- data/kinde_api/docs/SubscribersApi.md +4 -4
- data/kinde_api/docs/SuccessResponse.md +2 -2
- data/kinde_api/docs/TimezonesApi.md +14 -21
- data/kinde_api/docs/TokenIntrospect.md +5 -5
- data/kinde_api/docs/UpdateAPIApplicationsRequestApplicationsInner.md +4 -4
- data/kinde_api/docs/UpdateAPIScopeRequest.md +18 -0
- data/kinde_api/docs/UpdateApplicationRequest.md +5 -1
- data/kinde_api/docs/UpdateApplicationTokensRequest.md +26 -0
- data/kinde_api/docs/UpdateApplicationsPropertyRequest.md +18 -0
- data/kinde_api/docs/UpdateApplicationsPropertyRequestValue.md +49 -0
- data/kinde_api/docs/UpdateBusinessRequest.md +36 -0
- data/kinde_api/docs/UpdateCategoryRequest.md +18 -0
- data/kinde_api/docs/UpdateConnectionRequest.md +24 -0
- data/kinde_api/docs/UpdateEnvironmentVariableRequest.md +22 -0
- data/kinde_api/docs/UpdateEnvironmentVariableResponse.md +20 -0
- data/kinde_api/docs/UpdateIdentityRequest.md +18 -0
- data/kinde_api/docs/UpdateOrganizationPropertiesRequest.md +18 -0
- data/kinde_api/docs/UpdateOrganizationRequest.md +27 -15
- data/kinde_api/docs/UpdateOrganizationSessionsRequest.md +24 -0
- data/kinde_api/docs/UpdateOrganizationUsersRequestUsersInner.md +2 -2
- data/kinde_api/docs/UpdateOrganizationUsersResponse.md +3 -1
- data/kinde_api/docs/UpdatePropertyRequest.md +24 -0
- data/kinde_api/docs/UpdateUserRequest.md +5 -1
- data/kinde_api/docs/UpdateUserResponse.md +1 -1
- data/kinde_api/docs/UpdateWebHookRequest.md +22 -0
- data/kinde_api/docs/UpdateWebhookResponse.md +22 -0
- data/kinde_api/docs/UpdateWebhookResponseWebhook.md +18 -0
- data/kinde_api/docs/User.md +6 -2
- data/kinde_api/docs/UserProfileV2.md +17 -13
- data/kinde_api/docs/UsersApi.md +893 -99
- data/kinde_api/docs/UsersResponseUsersInner.md +6 -2
- data/kinde_api/docs/Webhook.md +28 -0
- data/kinde_api/docs/WebhooksApi.md +423 -0
- data/kinde_api/git_push.sh +57 -0
- data/kinde_api/kinde_api.gemspec +38 -0
- data/kinde_api/lib/kinde_api/api/apis_api.rb +640 -127
- data/kinde_api/lib/kinde_api/api/applications_api.rb +524 -112
- data/kinde_api/lib/kinde_api/api/billing_agreements_api.rb +166 -0
- data/kinde_api/lib/kinde_api/api/billing_entitlements_api.rb +105 -0
- data/kinde_api/lib/kinde_api/api/billing_meter_usage_api.rb +90 -0
- data/kinde_api/lib/kinde_api/api/business_api.rb +61 -126
- data/kinde_api/lib/kinde_api/api/callbacks_api.rb +152 -172
- data/kinde_api/lib/kinde_api/api/connected_apps_api.rb +57 -67
- data/kinde_api/lib/kinde_api/api/connections_api.rb +433 -0
- data/kinde_api/lib/kinde_api/api/environment_variables_api.rb +347 -0
- data/kinde_api/lib/kinde_api/api/environments_api.rb +327 -78
- data/kinde_api/lib/kinde_api/api/feature_flags_api.rb +68 -88
- data/kinde_api/lib/kinde_api/api/identities_api.rb +222 -0
- data/kinde_api/lib/kinde_api/api/industries_api.rb +29 -34
- data/kinde_api/lib/kinde_api/api/mfa_api.rb +90 -0
- data/kinde_api/lib/kinde_api/api/o_auth_api.rb +104 -129
- data/kinde_api/lib/kinde_api/api/organizations_api.rb +1689 -544
- data/kinde_api/lib/kinde_api/api/permissions_api.rb +76 -80
- data/kinde_api/lib/kinde_api/api/properties_api.rb +300 -0
- data/kinde_api/lib/kinde_api/api/property_categories_api.rb +237 -0
- data/kinde_api/lib/kinde_api/api/roles_api.rb +432 -166
- data/kinde_api/lib/kinde_api/api/search_api.rb +97 -0
- data/kinde_api/lib/kinde_api/api/subscribers_api.rb +59 -60
- data/kinde_api/lib/kinde_api/api/timezones_api.rb +29 -34
- data/kinde_api/lib/kinde_api/api/users_api.rb +900 -150
- data/kinde_api/lib/kinde_api/api/webhooks_api.rb +404 -0
- data/kinde_api/lib/kinde_api/api_client.rb +79 -68
- data/kinde_api/lib/kinde_api/api_error.rb +16 -16
- data/kinde_api/lib/kinde_api/configuration.rb +101 -24
- data/kinde_api/lib/kinde_api/models/add_api_scope_request.rb +235 -0
- data/kinde_api/lib/kinde_api/models/add_apis_request.rb +54 -49
- data/kinde_api/lib/kinde_api/models/add_organization_users_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/add_organization_users_request_users_inner.rb +53 -51
- data/kinde_api/lib/kinde_api/models/add_organization_users_response.rb +52 -50
- data/kinde_api/lib/kinde_api/models/add_role_scope_request.rb +225 -0
- data/kinde_api/lib/kinde_api/models/add_role_scope_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/api_result.rb +38 -40
- data/kinde_api/lib/kinde_api/models/applications.rb +55 -50
- data/kinde_api/lib/kinde_api/models/authorize_app_api_response.rb +250 -0
- data/kinde_api/lib/kinde_api/models/category.rb +228 -0
- data/kinde_api/lib/kinde_api/models/connected_apps_access_token.rb +44 -45
- data/kinde_api/lib/kinde_api/models/connected_apps_auth_url.rb +44 -45
- data/kinde_api/lib/kinde_api/models/connection.rb +239 -0
- data/kinde_api/lib/kinde_api/models/connection_connection.rb +246 -0
- data/kinde_api/lib/kinde_api/models/create_api_scopes_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_api_scopes_response_scope.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_apis_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_apis_response_api.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_application_request.rb +60 -52
- data/kinde_api/lib/kinde_api/models/create_application_response.rb +50 -49
- data/kinde_api/lib/kinde_api/models/create_application_response_application.rb +51 -50
- data/kinde_api/lib/kinde_api/models/create_billing_agreement_request.rb +260 -0
- data/kinde_api/lib/kinde_api/models/create_category_request.rb +274 -0
- data/kinde_api/lib/kinde_api/models/create_category_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/create_category_response_category.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request.rb +306 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request_options.rb +106 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request_options_one_of.rb +241 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request_options_one_of1.rb +303 -0
- data/kinde_api/lib/kinde_api/models/create_connection_request_options_one_of2.rb +333 -0
- data/kinde_api/lib/kinde_api/models/create_connection_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/create_connection_response_connection.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_environment_variable_request.rb +250 -0
- data/kinde_api/lib/kinde_api/models/create_environment_variable_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_environment_variable_response_environment_variable.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_feature_flag_request.rb +87 -77
- data/kinde_api/lib/kinde_api/models/create_identity_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/create_identity_response_identity.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_meter_usage_record_request.rb +309 -0
- data/kinde_api/lib/kinde_api/models/create_meter_usage_record_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/create_organization_request.rb +175 -100
- data/kinde_api/lib/kinde_api/models/create_organization_response.rb +57 -50
- data/kinde_api/lib/kinde_api/models/create_organization_response_organization.rb +49 -42
- data/kinde_api/lib/kinde_api/models/create_organization_user_permission_request.rb +38 -41
- data/kinde_api/lib/kinde_api/models/create_organization_user_role_request.rb +38 -41
- data/kinde_api/lib/kinde_api/models/create_permission_request.rb +50 -49
- data/kinde_api/lib/kinde_api/models/create_property_request.rb +356 -0
- data/kinde_api/lib/kinde_api/models/create_property_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/create_property_response_property.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_role_request.rb +56 -53
- data/kinde_api/lib/kinde_api/models/create_roles_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_roles_response_role.rb +220 -0
- data/kinde_api/lib/kinde_api/models/create_subscriber_success_response.rb +38 -41
- data/kinde_api/lib/kinde_api/models/create_subscriber_success_response_subscriber.rb +38 -41
- data/kinde_api/lib/kinde_api/models/create_user_identity_request.rb +284 -0
- data/kinde_api/lib/kinde_api/models/create_user_request.rb +62 -50
- data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner.rb +60 -52
- data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner_details.rb +67 -40
- data/kinde_api/lib/kinde_api/models/create_user_request_profile.rb +54 -45
- data/kinde_api/lib/kinde_api/models/create_user_response.rb +53 -51
- data/kinde_api/lib/kinde_api/models/create_web_hook_request.rb +268 -0
- data/kinde_api/lib/kinde_api/models/create_webhook_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/create_webhook_response_webhook.rb +228 -0
- data/kinde_api/lib/kinde_api/models/delete_api_response.rb +228 -0
- data/kinde_api/lib/kinde_api/models/delete_environment_variable_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/delete_role_scope_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/delete_webhook_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/environment_variable.rb +261 -0
- data/kinde_api/lib/kinde_api/models/error.rb +44 -44
- data/kinde_api/lib/kinde_api/models/error_response.rb +40 -42
- data/kinde_api/lib/kinde_api/models/event_type.rb +255 -0
- data/kinde_api/lib/kinde_api/models/get_api_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_api_response_api.rb +272 -0
- data/kinde_api/lib/kinde_api/models/get_api_response_api_applications_inner.rb +285 -0
- data/kinde_api/lib/kinde_api/models/get_api_response_api_scopes_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_api_scope_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_api_scopes_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/get_api_scopes_response_scopes_inner.rb +240 -0
- data/kinde_api/lib/kinde_api/models/get_apis_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_apis_response_apis_inner.rb +261 -0
- data/kinde_api/lib/kinde_api/models/get_apis_response_apis_inner_scopes_inner.rb +228 -0
- data/kinde_api/lib/kinde_api/models/get_application_response.rb +50 -49
- data/kinde_api/lib/kinde_api/models/get_application_response_application.rb +126 -57
- data/kinde_api/lib/kinde_api/models/get_applications_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_billing_agreements_response.rb +252 -0
- data/kinde_api/lib/kinde_api/models/get_billing_agreements_response_agreements_inner.rb +262 -0
- data/kinde_api/lib/kinde_api/models/get_billing_agreements_response_agreements_inner_entitlements_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_billing_entitlements_response.rb +264 -0
- data/kinde_api/lib/kinde_api/models/get_billing_entitlements_response_entitlements_inner.rb +290 -0
- data/kinde_api/lib/kinde_api/models/get_billing_entitlements_response_plans_inner.rb +229 -0
- data/kinde_api/lib/kinde_api/models/get_business_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_business_response_business.rb +326 -0
- data/kinde_api/lib/kinde_api/models/get_categories_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_connections_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_environment_feature_flags_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_environment_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_environment_response_environment.rb +526 -0
- data/kinde_api/lib/kinde_api/models/get_environment_response_environment_background_color.rb +237 -0
- data/kinde_api/lib/kinde_api/models/get_environment_response_environment_link_color.rb +237 -0
- data/kinde_api/lib/kinde_api/models/get_environment_variable_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_environment_variables_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_event_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_event_response_event.rb +257 -0
- data/kinde_api/lib/kinde_api/models/get_event_types_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/get_identities_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_industries_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/get_industries_response_industries_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response.rb +52 -50
- data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response_feature_flags_value.rb +52 -52
- data/kinde_api/lib/kinde_api/models/get_organization_response.rb +547 -0
- data/kinde_api/lib/kinde_api/models/get_organization_response_billing.rb +232 -0
- data/kinde_api/lib/kinde_api/models/get_organization_response_billing_agreements_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_organization_users_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_organizations_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_organizations_user_permissions_response.rb +52 -50
- data/kinde_api/lib/kinde_api/models/get_organizations_user_roles_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_permissions_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_properties_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_property_values_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/get_redirect_callback_urls_response.rb +40 -42
- data/kinde_api/lib/kinde_api/models/get_role_response.rb +239 -0
- data/kinde_api/lib/kinde_api/models/get_role_response_role.rb +260 -0
- data/kinde_api/lib/kinde_api/models/get_roles_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_subscriber_response.rb +52 -50
- data/kinde_api/lib/kinde_api/models/get_subscribers_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/get_timezones_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/get_timezones_response_timezones_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/get_user_mfa_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/get_user_mfa_response_mfa.rb +280 -0
- data/kinde_api/lib/kinde_api/models/get_user_sessions_response.rb +248 -0
- data/kinde_api/lib/kinde_api/models/get_user_sessions_response_sessions_inner.rb +331 -0
- data/kinde_api/lib/kinde_api/models/get_webhooks_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/identity.rb +300 -0
- data/kinde_api/lib/kinde_api/models/logout_redirect_urls.rb +60 -42
- data/kinde_api/lib/kinde_api/models/not_found_response.rb +219 -0
- data/kinde_api/lib/kinde_api/models/not_found_response_errors.rb +228 -0
- data/kinde_api/lib/kinde_api/models/organization_item_schema.rb +272 -0
- data/kinde_api/lib/kinde_api/models/organization_user.rb +122 -62
- data/kinde_api/lib/kinde_api/models/organization_user_permission.rb +73 -59
- data/kinde_api/lib/kinde_api/models/organization_user_permission_roles_inner.rb +47 -46
- data/kinde_api/lib/kinde_api/models/organization_user_role.rb +55 -50
- data/kinde_api/lib/kinde_api/models/organization_user_role_permissions.rb +55 -50
- data/kinde_api/lib/kinde_api/models/organization_user_role_permissions_permissions.rb +38 -41
- data/kinde_api/lib/kinde_api/models/permissions.rb +57 -54
- data/kinde_api/lib/kinde_api/models/property.rb +264 -0
- data/kinde_api/lib/kinde_api/models/property_value.rb +257 -0
- data/kinde_api/lib/kinde_api/models/read_env_logo_response.rb +242 -0
- data/kinde_api/lib/kinde_api/models/read_env_logo_response_logos_inner.rb +230 -0
- data/kinde_api/lib/kinde_api/models/read_logo_response.rb +242 -0
- data/kinde_api/lib/kinde_api/models/read_logo_response_logos_inner.rb +240 -0
- data/kinde_api/lib/kinde_api/models/redirect_callback_urls.rb +40 -42
- data/kinde_api/lib/kinde_api/models/replace_connection_request.rb +251 -0
- data/kinde_api/lib/kinde_api/models/replace_connection_request_options.rb +106 -0
- data/kinde_api/lib/kinde_api/models/replace_connection_request_options_one_of.rb +293 -0
- data/kinde_api/lib/kinde_api/models/replace_connection_request_options_one_of1.rb +313 -0
- data/kinde_api/lib/kinde_api/models/replace_logout_redirect_urls_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/replace_mfa_request.rb +276 -0
- data/kinde_api/lib/kinde_api/models/replace_organization_mfa_request.rb +249 -0
- data/kinde_api/lib/kinde_api/models/replace_redirect_callback_urls_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/role.rb +63 -53
- data/kinde_api/lib/kinde_api/models/role_permissions_response.rb +251 -0
- data/kinde_api/lib/kinde_api/models/role_scopes_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/roles.rb +68 -53
- data/kinde_api/lib/kinde_api/models/scopes.rb +250 -0
- data/kinde_api/lib/kinde_api/models/search_users_response.rb +241 -0
- data/kinde_api/lib/kinde_api/models/search_users_response_results_inner.rb +374 -0
- data/kinde_api/lib/kinde_api/models/set_user_password_request.rb +311 -0
- data/kinde_api/lib/kinde_api/models/subscriber.rb +63 -54
- data/kinde_api/lib/kinde_api/models/subscribers_subscriber.rb +71 -58
- data/kinde_api/lib/kinde_api/models/success_response.rb +47 -46
- data/kinde_api/lib/kinde_api/models/token_error_response.rb +44 -45
- data/kinde_api/lib/kinde_api/models/token_introspect.rb +63 -58
- data/kinde_api/lib/kinde_api/models/update_api_applications_request.rb +42 -44
- data/kinde_api/lib/kinde_api/models/update_api_applications_request_applications_inner.rb +48 -49
- data/kinde_api/lib/kinde_api/models/update_api_scope_request.rb +220 -0
- data/kinde_api/lib/kinde_api/models/update_application_request.rb +78 -54
- data/kinde_api/lib/kinde_api/models/update_application_tokens_request.rb +260 -0
- data/kinde_api/lib/kinde_api/models/update_applications_property_request.rb +224 -0
- data/kinde_api/lib/kinde_api/models/update_applications_property_request_value.rb +106 -0
- data/kinde_api/lib/kinde_api/models/update_business_request.rb +320 -0
- data/kinde_api/lib/kinde_api/models/update_category_request.rb +220 -0
- data/kinde_api/lib/kinde_api/models/update_connection_request.rb +251 -0
- data/kinde_api/lib/kinde_api/models/update_environement_feature_flag_override_request.rb +40 -43
- data/kinde_api/lib/kinde_api/models/update_environment_variable_request.rb +240 -0
- data/kinde_api/lib/kinde_api/models/update_environment_variable_response.rb +230 -0
- data/kinde_api/lib/kinde_api/models/update_identity_request.rb +220 -0
- data/kinde_api/lib/kinde_api/models/update_organization_properties_request.rb +225 -0
- data/kinde_api/lib/kinde_api/models/update_organization_request.rb +209 -91
- data/kinde_api/lib/kinde_api/models/update_organization_sessions_request.rb +284 -0
- data/kinde_api/lib/kinde_api/models/update_organization_users_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/update_organization_users_request_users_inner.rb +59 -55
- data/kinde_api/lib/kinde_api/models/update_organization_users_response.rb +76 -57
- data/kinde_api/lib/kinde_api/models/update_property_request.rb +265 -0
- data/kinde_api/lib/kinde_api/models/update_role_permissions_request.rb +40 -42
- data/kinde_api/lib/kinde_api/models/update_role_permissions_request_permissions_inner.rb +44 -45
- data/kinde_api/lib/kinde_api/models/update_role_permissions_response.rb +66 -56
- data/kinde_api/lib/kinde_api/models/update_roles_request.rb +61 -56
- data/kinde_api/lib/kinde_api/models/update_user_request.rb +75 -52
- data/kinde_api/lib/kinde_api/models/update_user_response.rb +75 -67
- data/kinde_api/lib/kinde_api/models/update_web_hook_request.rb +243 -0
- data/kinde_api/lib/kinde_api/models/update_webhook_response.rb +237 -0
- data/kinde_api/lib/kinde_api/models/update_webhook_response_webhook.rb +219 -0
- data/kinde_api/lib/kinde_api/models/user.rb +138 -97
- data/kinde_api/lib/kinde_api/models/user_identities_inner.rb +47 -46
- data/kinde_api/lib/kinde_api/models/user_identity.rb +44 -45
- data/kinde_api/lib/kinde_api/models/user_identity_result.rb +38 -41
- data/kinde_api/lib/kinde_api/models/user_profile_v2.rb +113 -79
- data/kinde_api/lib/kinde_api/models/users_response.rb +57 -54
- data/kinde_api/lib/kinde_api/models/users_response_users_inner.rb +138 -98
- data/kinde_api/lib/kinde_api/models/webhook.rb +267 -0
- data/kinde_api/lib/kinde_api/version.rb +12 -12
- data/kinde_api/lib/kinde_api.rb +160 -36
- data/kinde_api/spec/api/billing_agreements_api_spec.rb +62 -0
- data/kinde_api/spec/api/billing_entitlements_api_spec.rb +52 -0
- data/kinde_api/spec/api/billing_meter_usage_api_spec.rb +47 -0
- data/kinde_api/spec/api/connections_api_spec.rb +112 -0
- data/kinde_api/spec/api/environment_variables_api_spec.rb +95 -0
- data/kinde_api/spec/api/identities_api_spec.rb +72 -0
- data/kinde_api/spec/api/mfa_api_spec.rb +47 -0
- data/kinde_api/spec/api/properties_api_spec.rb +87 -0
- data/kinde_api/spec/api/property_categories_api_spec.rb +75 -0
- data/kinde_api/spec/api/search_api_spec.rb +52 -0
- data/kinde_api/spec/api/webhooks_api_spec.rb +106 -0
- data/kinde_api/spec/api_client_spec.rb +27 -21
- data/kinde_api/spec/configuration_spec.rb +14 -14
- data/kinde_api/spec/models/add_api_scope_request_spec.rb +40 -0
- data/kinde_api/spec/models/add_role_scope_request_spec.rb +34 -0
- data/kinde_api/spec/models/add_role_scope_response_spec.rb +40 -0
- data/kinde_api/spec/models/authorize_app_api_response_spec.rb +52 -0
- data/kinde_api/spec/models/category_spec.rb +40 -0
- data/kinde_api/spec/models/connection_connection_spec.rb +52 -0
- data/kinde_api/spec/models/connection_spec.rb +46 -0
- data/kinde_api/spec/models/create_api_scopes_response_scope_spec.rb +34 -0
- data/kinde_api/spec/models/create_api_scopes_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_apis_response_api_spec.rb +34 -0
- data/kinde_api/spec/models/create_apis_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_billing_agreement_request_spec.rb +52 -0
- data/kinde_api/spec/models/create_category_request_spec.rb +44 -0
- data/kinde_api/spec/models/create_category_response_category_spec.rb +34 -0
- data/kinde_api/spec/models/create_category_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_connection_request_options_one_of1_spec.rb +82 -0
- data/kinde_api/spec/models/create_connection_request_options_one_of2_spec.rb +100 -0
- data/kinde_api/spec/models/create_connection_request_options_one_of_spec.rb +46 -0
- data/kinde_api/spec/models/create_connection_request_options_spec.rb +31 -0
- data/kinde_api/spec/models/create_connection_request_spec.rb +68 -0
- data/kinde_api/spec/models/create_connection_response_connection_spec.rb +34 -0
- data/kinde_api/spec/models/create_connection_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_environment_variable_request_spec.rb +46 -0
- data/kinde_api/spec/models/create_environment_variable_response_environment_variable_spec.rb +34 -0
- data/kinde_api/spec/models/create_environment_variable_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_identity_response_identity_spec.rb +34 -0
- data/kinde_api/spec/models/create_identity_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_meter_usage_record_request_spec.rb +62 -0
- data/kinde_api/spec/models/create_meter_usage_record_response_spec.rb +40 -0
- data/kinde_api/spec/models/create_property_request_spec.rb +78 -0
- data/kinde_api/spec/models/create_property_response_property_spec.rb +34 -0
- data/kinde_api/spec/models/create_property_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_roles_response_role_spec.rb +34 -0
- data/kinde_api/spec/models/create_roles_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_user_identity_request_spec.rb +56 -0
- data/kinde_api/spec/models/create_web_hook_request_spec.rb +52 -0
- data/kinde_api/spec/models/create_webhook_response_spec.rb +46 -0
- data/kinde_api/spec/models/create_webhook_response_webhook_spec.rb +40 -0
- data/kinde_api/spec/models/delete_api_response_spec.rb +40 -0
- data/kinde_api/spec/models/delete_environment_variable_response_spec.rb +40 -0
- data/kinde_api/spec/models/delete_role_scope_response_spec.rb +40 -0
- data/kinde_api/spec/models/delete_webhook_response_spec.rb +40 -0
- data/kinde_api/spec/models/environment_variable_spec.rb +58 -0
- data/kinde_api/spec/models/event_type_spec.rb +58 -0
- data/kinde_api/spec/models/get_api_response_api_applications_inner_spec.rb +56 -0
- data/kinde_api/spec/models/get_api_response_api_scopes_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_api_response_api_spec.rb +64 -0
- data/kinde_api/spec/models/get_api_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_api_scope_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_api_scopes_response_scopes_inner_spec.rb +46 -0
- data/kinde_api/spec/models/get_api_scopes_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_apis_response_apis_inner_scopes_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_apis_response_apis_inner_spec.rb +58 -0
- data/kinde_api/spec/models/get_apis_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_billing_agreements_response_agreements_inner_entitlements_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_billing_agreements_response_agreements_inner_spec.rb +58 -0
- data/kinde_api/spec/models/get_billing_agreements_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_billing_entitlements_response_entitlements_inner_spec.rb +76 -0
- data/kinde_api/spec/models/get_billing_entitlements_response_plans_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_billing_entitlements_response_spec.rb +58 -0
- data/kinde_api/spec/models/get_business_response_business_spec.rb +94 -0
- data/kinde_api/spec/models/get_business_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_categories_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_connections_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_environment_response_environment_background_color_spec.rb +46 -0
- data/kinde_api/spec/models/get_environment_response_environment_link_color_spec.rb +46 -0
- data/kinde_api/spec/models/get_environment_response_environment_spec.rb +192 -0
- data/kinde_api/spec/models/get_environment_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_environment_variable_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_environment_variables_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_event_response_event_spec.rb +58 -0
- data/kinde_api/spec/models/get_event_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_event_types_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_identities_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_industries_response_industries_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_industries_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_organization_response_billing_agreements_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_organization_response_billing_spec.rb +40 -0
- data/kinde_api/spec/models/get_organization_response_spec.rb +204 -0
- data/kinde_api/spec/models/get_properties_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_property_values_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_role_response_role_spec.rb +58 -0
- data/kinde_api/spec/models/get_role_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_timezones_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_timezones_response_timezones_inner_spec.rb +40 -0
- data/kinde_api/spec/models/get_user_mfa_response_mfa_spec.rb +70 -0
- data/kinde_api/spec/models/get_user_mfa_response_spec.rb +46 -0
- data/kinde_api/spec/models/get_user_sessions_response_sessions_inner_spec.rb +100 -0
- data/kinde_api/spec/models/get_user_sessions_response_spec.rb +52 -0
- data/kinde_api/spec/models/get_webhooks_response_spec.rb +46 -0
- data/kinde_api/spec/models/identity_spec.rb +82 -0
- data/kinde_api/spec/models/not_found_response_errors_spec.rb +40 -0
- data/kinde_api/spec/models/not_found_response_spec.rb +34 -0
- data/kinde_api/spec/models/organization_item_schema_spec.rb +64 -0
- data/kinde_api/spec/models/property_spec.rb +64 -0
- data/kinde_api/spec/models/property_value_spec.rb +58 -0
- data/kinde_api/spec/models/read_env_logo_response_logos_inner_spec.rb +40 -0
- data/kinde_api/spec/models/read_env_logo_response_spec.rb +46 -0
- data/kinde_api/spec/models/read_logo_response_logos_inner_spec.rb +46 -0
- data/kinde_api/spec/models/read_logo_response_spec.rb +46 -0
- data/kinde_api/spec/models/replace_connection_request_options_one_of1_spec.rb +88 -0
- data/kinde_api/spec/models/replace_connection_request_options_one_of_spec.rb +76 -0
- data/kinde_api/spec/models/replace_connection_request_options_spec.rb +31 -0
- data/kinde_api/spec/models/replace_connection_request_spec.rb +52 -0
- data/kinde_api/spec/models/replace_mfa_request_spec.rb +48 -0
- data/kinde_api/spec/models/replace_organization_mfa_request_spec.rb +38 -0
- data/kinde_api/spec/models/role_permissions_response_spec.rb +52 -0
- data/kinde_api/spec/models/role_scopes_response_spec.rb +46 -0
- data/kinde_api/spec/models/scopes_spec.rb +52 -0
- data/kinde_api/spec/models/search_users_response_results_inner_spec.rb +118 -0
- data/kinde_api/spec/models/search_users_response_spec.rb +46 -0
- data/kinde_api/spec/models/set_user_password_request_spec.rb +66 -0
- data/kinde_api/spec/models/update_api_scope_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_application_tokens_request_spec.rb +58 -0
- data/kinde_api/spec/models/update_applications_property_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_applications_property_request_value_spec.rb +31 -0
- data/kinde_api/spec/models/update_business_request_spec.rb +88 -0
- data/kinde_api/spec/models/update_category_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_connection_request_spec.rb +52 -0
- data/kinde_api/spec/models/update_environment_variable_request_spec.rb +46 -0
- data/kinde_api/spec/models/update_environment_variable_response_spec.rb +40 -0
- data/kinde_api/spec/models/update_identity_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_organization_properties_request_spec.rb +34 -0
- data/kinde_api/spec/models/update_organization_sessions_request_spec.rb +56 -0
- data/kinde_api/spec/models/update_property_request_spec.rb +52 -0
- data/kinde_api/spec/models/update_web_hook_request_spec.rb +46 -0
- data/kinde_api/spec/models/update_webhook_response_spec.rb +46 -0
- data/kinde_api/spec/models/update_webhook_response_webhook_spec.rb +34 -0
- data/kinde_api/spec/models/webhook_spec.rb +64 -0
- data/kinde_api/spec/spec_helper.rb +63 -62
- data/lib/kinde_sdk/client.rb +80 -0
- data/lib/kinde_sdk/version.rb +1 -1
- data/lib/kinde_sdk.rb +7 -4
- data/spec/examples.txt +27 -22
- data/spec/kinde_sdk_spec.rb +94 -0
- metadata +566 -2
data/kinde_api/docs/UsersApi.md
CHANGED
@@ -1,25 +1,36 @@
|
|
1
1
|
# KindeApi::UsersApi
|
2
2
|
|
3
|
-
All URIs are relative to *https://
|
3
|
+
All URIs are relative to *https://your_kinde_subdomain.kinde.com*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**create_user**](UsersApi.md#create_user) | **POST** /api/v1/user | Create
|
8
|
-
| [**
|
9
|
-
| [**
|
10
|
-
| [**
|
7
|
+
| [**create_user**](UsersApi.md#create_user) | **POST** /api/v1/user | Create user |
|
8
|
+
| [**create_user_identity**](UsersApi.md#create_user_identity) | **POST** /api/v1/users/{user_id}/identities | Create identity |
|
9
|
+
| [**delete_user**](UsersApi.md#delete_user) | **DELETE** /api/v1/user | Delete user |
|
10
|
+
| [**delete_user_sessions**](UsersApi.md#delete_user_sessions) | **DELETE** /api/v1/users/{user_id}/sessions | Delete user sessions |
|
11
|
+
| [**get_user_data**](UsersApi.md#get_user_data) | **GET** /api/v1/user | Get user |
|
12
|
+
| [**get_user_identities**](UsersApi.md#get_user_identities) | **GET** /api/v1/users/{user_id}/identities | Get identities |
|
13
|
+
| [**get_user_property_values**](UsersApi.md#get_user_property_values) | **GET** /api/v1/users/{user_id}/properties | Get property values |
|
14
|
+
| [**get_user_sessions**](UsersApi.md#get_user_sessions) | **GET** /api/v1/users/{user_id}/sessions | Get user sessions |
|
15
|
+
| [**get_users**](UsersApi.md#get_users) | **GET** /api/v1/users | Get users |
|
16
|
+
| [**get_users_mfa**](UsersApi.md#get_users_mfa) | **GET** /api/v1/users/{user_id}/mfa | Get user's MFA configuration |
|
11
17
|
| [**refresh_user_claims**](UsersApi.md#refresh_user_claims) | **POST** /api/v1/users/{user_id}/refresh_claims | Refresh User Claims and Invalidate Cache |
|
12
|
-
| [**
|
18
|
+
| [**reset_users_mfa**](UsersApi.md#reset_users_mfa) | **DELETE** /api/v1/users/{user_id}/mfa/{factor_id} | Reset specific environment MFA for a user |
|
19
|
+
| [**reset_users_mfa_all**](UsersApi.md#reset_users_mfa_all) | **DELETE** /api/v1/users/{user_id}/mfa | Reset all environment MFA for a user |
|
20
|
+
| [**set_user_password**](UsersApi.md#set_user_password) | **PUT** /api/v1/users/{user_id}/password | Set User password |
|
21
|
+
| [**update_user**](UsersApi.md#update_user) | **PATCH** /api/v1/user | Update user |
|
13
22
|
| [**update_user_feature_flag_override**](UsersApi.md#update_user_feature_flag_override) | **PATCH** /api/v1/users/{user_id}/feature_flags/{feature_flag_key} | Update User Feature Flag Override |
|
23
|
+
| [**update_user_properties**](UsersApi.md#update_user_properties) | **PATCH** /api/v1/users/{user_id}/properties | Update Property values |
|
24
|
+
| [**update_user_property**](UsersApi.md#update_user_property) | **PUT** /api/v1/users/{user_id}/properties/{property_key} | Update Property value |
|
14
25
|
|
15
26
|
|
16
27
|
## create_user
|
17
28
|
|
18
29
|
> <CreateUserResponse> create_user(opts)
|
19
30
|
|
20
|
-
Create
|
31
|
+
Create user
|
21
32
|
|
22
|
-
Creates a user record and optionally zero or more identities for the user. An example identity could be the email address of the user.
|
33
|
+
Creates a user record and optionally zero or more identities for the user. An example identity could be the email address of the user. <div> <code>create:users</code> </div>
|
23
34
|
|
24
35
|
### Examples
|
25
36
|
|
@@ -38,7 +49,7 @@ opts = {
|
|
38
49
|
}
|
39
50
|
|
40
51
|
begin
|
41
|
-
# Create
|
52
|
+
# Create user
|
42
53
|
result = api_instance.create_user(opts)
|
43
54
|
p result
|
44
55
|
rescue KindeApi::ApiError => e
|
@@ -54,7 +65,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
54
65
|
|
55
66
|
```ruby
|
56
67
|
begin
|
57
|
-
# Create
|
68
|
+
# Create user
|
58
69
|
data, status_code, headers = api_instance.create_user_with_http_info(opts)
|
59
70
|
p status_code # => 2xx
|
60
71
|
p headers # => { ... }
|
@@ -81,16 +92,669 @@ end
|
|
81
92
|
### HTTP request headers
|
82
93
|
|
83
94
|
- **Content-Type**: application/json
|
95
|
+
- **Accept**: application/json
|
96
|
+
|
97
|
+
|
98
|
+
## create_user_identity
|
99
|
+
|
100
|
+
> <CreateIdentityResponse> create_user_identity(user_id, opts)
|
101
|
+
|
102
|
+
Create identity
|
103
|
+
|
104
|
+
Creates an identity for a user. <div> <code>create:user_identities</code> </div>
|
105
|
+
|
106
|
+
### Examples
|
107
|
+
|
108
|
+
```ruby
|
109
|
+
require 'time'
|
110
|
+
require 'kinde_api'
|
111
|
+
# setup authorization
|
112
|
+
KindeApi.configure do |config|
|
113
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
114
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
115
|
+
end
|
116
|
+
|
117
|
+
api_instance = KindeApi::UsersApi.new
|
118
|
+
user_id = 'user_id_example' # String | The user's ID.
|
119
|
+
opts = {
|
120
|
+
create_user_identity_request: KindeApi::CreateUserIdentityRequest.new # CreateUserIdentityRequest | The identity details.
|
121
|
+
}
|
122
|
+
|
123
|
+
begin
|
124
|
+
# Create identity
|
125
|
+
result = api_instance.create_user_identity(user_id, opts)
|
126
|
+
p result
|
127
|
+
rescue KindeApi::ApiError => e
|
128
|
+
puts "Error when calling UsersApi->create_user_identity: #{e}"
|
129
|
+
end
|
130
|
+
```
|
131
|
+
|
132
|
+
#### Using the create_user_identity_with_http_info variant
|
133
|
+
|
134
|
+
This returns an Array which contains the response data, status code and headers.
|
135
|
+
|
136
|
+
> <Array(<CreateIdentityResponse>, Integer, Hash)> create_user_identity_with_http_info(user_id, opts)
|
137
|
+
|
138
|
+
```ruby
|
139
|
+
begin
|
140
|
+
# Create identity
|
141
|
+
data, status_code, headers = api_instance.create_user_identity_with_http_info(user_id, opts)
|
142
|
+
p status_code # => 2xx
|
143
|
+
p headers # => { ... }
|
144
|
+
p data # => <CreateIdentityResponse>
|
145
|
+
rescue KindeApi::ApiError => e
|
146
|
+
puts "Error when calling UsersApi->create_user_identity_with_http_info: #{e}"
|
147
|
+
end
|
148
|
+
```
|
149
|
+
|
150
|
+
### Parameters
|
151
|
+
|
152
|
+
| Name | Type | Description | Notes |
|
153
|
+
| ---- | ---- | ----------- | ----- |
|
154
|
+
| **user_id** | **String** | The user's ID. | |
|
155
|
+
| **create_user_identity_request** | [**CreateUserIdentityRequest**](CreateUserIdentityRequest.md) | The identity details. | [optional] |
|
156
|
+
|
157
|
+
### Return type
|
158
|
+
|
159
|
+
[**CreateIdentityResponse**](CreateIdentityResponse.md)
|
160
|
+
|
161
|
+
### Authorization
|
162
|
+
|
163
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
164
|
+
|
165
|
+
### HTTP request headers
|
166
|
+
|
167
|
+
- **Content-Type**: application/json
|
168
|
+
- **Accept**: application/json, application/json; charset=utf-8
|
169
|
+
|
170
|
+
|
171
|
+
## delete_user
|
172
|
+
|
173
|
+
> <SuccessResponse> delete_user(id, opts)
|
174
|
+
|
175
|
+
Delete user
|
176
|
+
|
177
|
+
Delete a user record. <div> <code>delete:users</code> </div>
|
178
|
+
|
179
|
+
### Examples
|
180
|
+
|
181
|
+
```ruby
|
182
|
+
require 'time'
|
183
|
+
require 'kinde_api'
|
184
|
+
# setup authorization
|
185
|
+
KindeApi.configure do |config|
|
186
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
187
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
188
|
+
end
|
189
|
+
|
190
|
+
api_instance = KindeApi::UsersApi.new
|
191
|
+
id = 'kp_c3143a4b50ad43c88e541d9077681782' # String | The user's id.
|
192
|
+
opts = {
|
193
|
+
is_delete_profile: true # Boolean | Delete all data and remove the user's profile from all of Kinde, including the subscriber list
|
194
|
+
}
|
195
|
+
|
196
|
+
begin
|
197
|
+
# Delete user
|
198
|
+
result = api_instance.delete_user(id, opts)
|
199
|
+
p result
|
200
|
+
rescue KindeApi::ApiError => e
|
201
|
+
puts "Error when calling UsersApi->delete_user: #{e}"
|
202
|
+
end
|
203
|
+
```
|
204
|
+
|
205
|
+
#### Using the delete_user_with_http_info variant
|
206
|
+
|
207
|
+
This returns an Array which contains the response data, status code and headers.
|
208
|
+
|
209
|
+
> <Array(<SuccessResponse>, Integer, Hash)> delete_user_with_http_info(id, opts)
|
210
|
+
|
211
|
+
```ruby
|
212
|
+
begin
|
213
|
+
# Delete user
|
214
|
+
data, status_code, headers = api_instance.delete_user_with_http_info(id, opts)
|
215
|
+
p status_code # => 2xx
|
216
|
+
p headers # => { ... }
|
217
|
+
p data # => <SuccessResponse>
|
218
|
+
rescue KindeApi::ApiError => e
|
219
|
+
puts "Error when calling UsersApi->delete_user_with_http_info: #{e}"
|
220
|
+
end
|
221
|
+
```
|
222
|
+
|
223
|
+
### Parameters
|
224
|
+
|
225
|
+
| Name | Type | Description | Notes |
|
226
|
+
| ---- | ---- | ----------- | ----- |
|
227
|
+
| **id** | **String** | The user's id. | |
|
228
|
+
| **is_delete_profile** | **Boolean** | Delete all data and remove the user's profile from all of Kinde, including the subscriber list | [optional] |
|
229
|
+
|
230
|
+
### Return type
|
231
|
+
|
232
|
+
[**SuccessResponse**](SuccessResponse.md)
|
233
|
+
|
234
|
+
### Authorization
|
235
|
+
|
236
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
237
|
+
|
238
|
+
### HTTP request headers
|
239
|
+
|
240
|
+
- **Content-Type**: Not defined
|
241
|
+
- **Accept**: application/json
|
242
|
+
|
243
|
+
|
244
|
+
## delete_user_sessions
|
245
|
+
|
246
|
+
> <SuccessResponse> delete_user_sessions(user_id)
|
247
|
+
|
248
|
+
Delete user sessions
|
249
|
+
|
250
|
+
Invalidate user sessions. <div> <code>delete:user_sessions</code> </div>
|
251
|
+
|
252
|
+
### Examples
|
253
|
+
|
254
|
+
```ruby
|
255
|
+
require 'time'
|
256
|
+
require 'kinde_api'
|
257
|
+
# setup authorization
|
258
|
+
KindeApi.configure do |config|
|
259
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
260
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
261
|
+
end
|
262
|
+
|
263
|
+
api_instance = KindeApi::UsersApi.new
|
264
|
+
user_id = 'kp_c3143a4b50ad43c88e541d9077681782' # String | The identifier for the user
|
265
|
+
|
266
|
+
begin
|
267
|
+
# Delete user sessions
|
268
|
+
result = api_instance.delete_user_sessions(user_id)
|
269
|
+
p result
|
270
|
+
rescue KindeApi::ApiError => e
|
271
|
+
puts "Error when calling UsersApi->delete_user_sessions: #{e}"
|
272
|
+
end
|
273
|
+
```
|
274
|
+
|
275
|
+
#### Using the delete_user_sessions_with_http_info variant
|
276
|
+
|
277
|
+
This returns an Array which contains the response data, status code and headers.
|
278
|
+
|
279
|
+
> <Array(<SuccessResponse>, Integer, Hash)> delete_user_sessions_with_http_info(user_id)
|
280
|
+
|
281
|
+
```ruby
|
282
|
+
begin
|
283
|
+
# Delete user sessions
|
284
|
+
data, status_code, headers = api_instance.delete_user_sessions_with_http_info(user_id)
|
285
|
+
p status_code # => 2xx
|
286
|
+
p headers # => { ... }
|
287
|
+
p data # => <SuccessResponse>
|
288
|
+
rescue KindeApi::ApiError => e
|
289
|
+
puts "Error when calling UsersApi->delete_user_sessions_with_http_info: #{e}"
|
290
|
+
end
|
291
|
+
```
|
292
|
+
|
293
|
+
### Parameters
|
294
|
+
|
295
|
+
| Name | Type | Description | Notes |
|
296
|
+
| ---- | ---- | ----------- | ----- |
|
297
|
+
| **user_id** | **String** | The identifier for the user | |
|
298
|
+
|
299
|
+
### Return type
|
300
|
+
|
301
|
+
[**SuccessResponse**](SuccessResponse.md)
|
302
|
+
|
303
|
+
### Authorization
|
304
|
+
|
305
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
306
|
+
|
307
|
+
### HTTP request headers
|
308
|
+
|
309
|
+
- **Content-Type**: Not defined
|
310
|
+
- **Accept**: application/json
|
311
|
+
|
312
|
+
|
313
|
+
## get_user_data
|
314
|
+
|
315
|
+
> <User> get_user_data(id, opts)
|
316
|
+
|
317
|
+
Get user
|
318
|
+
|
319
|
+
Retrieve a user record. <div> <code>read:users</code> </div>
|
320
|
+
|
321
|
+
### Examples
|
322
|
+
|
323
|
+
```ruby
|
324
|
+
require 'time'
|
325
|
+
require 'kinde_api'
|
326
|
+
# setup authorization
|
327
|
+
KindeApi.configure do |config|
|
328
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
329
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
330
|
+
end
|
331
|
+
|
332
|
+
api_instance = KindeApi::UsersApi.new
|
333
|
+
id = 'id_example' # String | The user's id.
|
334
|
+
opts = {
|
335
|
+
expand: 'expand_example' # String | Specify additional data to retrieve. Use \"organizations\" and/or \"identities\".
|
336
|
+
}
|
337
|
+
|
338
|
+
begin
|
339
|
+
# Get user
|
340
|
+
result = api_instance.get_user_data(id, opts)
|
341
|
+
p result
|
342
|
+
rescue KindeApi::ApiError => e
|
343
|
+
puts "Error when calling UsersApi->get_user_data: #{e}"
|
344
|
+
end
|
345
|
+
```
|
346
|
+
|
347
|
+
#### Using the get_user_data_with_http_info variant
|
348
|
+
|
349
|
+
This returns an Array which contains the response data, status code and headers.
|
350
|
+
|
351
|
+
> <Array(<User>, Integer, Hash)> get_user_data_with_http_info(id, opts)
|
352
|
+
|
353
|
+
```ruby
|
354
|
+
begin
|
355
|
+
# Get user
|
356
|
+
data, status_code, headers = api_instance.get_user_data_with_http_info(id, opts)
|
357
|
+
p status_code # => 2xx
|
358
|
+
p headers # => { ... }
|
359
|
+
p data # => <User>
|
360
|
+
rescue KindeApi::ApiError => e
|
361
|
+
puts "Error when calling UsersApi->get_user_data_with_http_info: #{e}"
|
362
|
+
end
|
363
|
+
```
|
364
|
+
|
365
|
+
### Parameters
|
366
|
+
|
367
|
+
| Name | Type | Description | Notes |
|
368
|
+
| ---- | ---- | ----------- | ----- |
|
369
|
+
| **id** | **String** | The user's id. | |
|
370
|
+
| **expand** | **String** | Specify additional data to retrieve. Use \"organizations\" and/or \"identities\". | [optional] |
|
371
|
+
|
372
|
+
### Return type
|
373
|
+
|
374
|
+
[**User**](User.md)
|
375
|
+
|
376
|
+
### Authorization
|
377
|
+
|
378
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
379
|
+
|
380
|
+
### HTTP request headers
|
381
|
+
|
382
|
+
- **Content-Type**: Not defined
|
383
|
+
- **Accept**: application/json
|
384
|
+
|
385
|
+
|
386
|
+
## get_user_identities
|
387
|
+
|
388
|
+
> <GetIdentitiesResponse> get_user_identities(user_id, opts)
|
389
|
+
|
390
|
+
Get identities
|
391
|
+
|
392
|
+
Gets a list of identities for an user by ID. <div> <code>read:user_identities</code> </div>
|
393
|
+
|
394
|
+
### Examples
|
395
|
+
|
396
|
+
```ruby
|
397
|
+
require 'time'
|
398
|
+
require 'kinde_api'
|
399
|
+
# setup authorization
|
400
|
+
KindeApi.configure do |config|
|
401
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
402
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
403
|
+
end
|
404
|
+
|
405
|
+
api_instance = KindeApi::UsersApi.new
|
406
|
+
user_id = 'user_id_example' # String | The user's ID.
|
407
|
+
opts = {
|
408
|
+
starting_after: 'starting_after_example', # String | The ID of the identity to start after.
|
409
|
+
ending_before: 'ending_before_example' # String | The ID of the identity to end before.
|
410
|
+
}
|
411
|
+
|
412
|
+
begin
|
413
|
+
# Get identities
|
414
|
+
result = api_instance.get_user_identities(user_id, opts)
|
415
|
+
p result
|
416
|
+
rescue KindeApi::ApiError => e
|
417
|
+
puts "Error when calling UsersApi->get_user_identities: #{e}"
|
418
|
+
end
|
419
|
+
```
|
420
|
+
|
421
|
+
#### Using the get_user_identities_with_http_info variant
|
422
|
+
|
423
|
+
This returns an Array which contains the response data, status code and headers.
|
424
|
+
|
425
|
+
> <Array(<GetIdentitiesResponse>, Integer, Hash)> get_user_identities_with_http_info(user_id, opts)
|
426
|
+
|
427
|
+
```ruby
|
428
|
+
begin
|
429
|
+
# Get identities
|
430
|
+
data, status_code, headers = api_instance.get_user_identities_with_http_info(user_id, opts)
|
431
|
+
p status_code # => 2xx
|
432
|
+
p headers # => { ... }
|
433
|
+
p data # => <GetIdentitiesResponse>
|
434
|
+
rescue KindeApi::ApiError => e
|
435
|
+
puts "Error when calling UsersApi->get_user_identities_with_http_info: #{e}"
|
436
|
+
end
|
437
|
+
```
|
438
|
+
|
439
|
+
### Parameters
|
440
|
+
|
441
|
+
| Name | Type | Description | Notes |
|
442
|
+
| ---- | ---- | ----------- | ----- |
|
443
|
+
| **user_id** | **String** | The user's ID. | |
|
444
|
+
| **starting_after** | **String** | The ID of the identity to start after. | [optional] |
|
445
|
+
| **ending_before** | **String** | The ID of the identity to end before. | [optional] |
|
446
|
+
|
447
|
+
### Return type
|
448
|
+
|
449
|
+
[**GetIdentitiesResponse**](GetIdentitiesResponse.md)
|
450
|
+
|
451
|
+
### Authorization
|
452
|
+
|
453
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
454
|
+
|
455
|
+
### HTTP request headers
|
456
|
+
|
457
|
+
- **Content-Type**: Not defined
|
458
|
+
- **Accept**: application/json, application/json; charset=utf-8
|
459
|
+
|
460
|
+
|
461
|
+
## get_user_property_values
|
462
|
+
|
463
|
+
> <GetPropertyValuesResponse> get_user_property_values(user_id)
|
464
|
+
|
465
|
+
Get property values
|
466
|
+
|
467
|
+
Gets properties for an user by ID. <div> <code>read:user_properties</code> </div>
|
468
|
+
|
469
|
+
### Examples
|
470
|
+
|
471
|
+
```ruby
|
472
|
+
require 'time'
|
473
|
+
require 'kinde_api'
|
474
|
+
# setup authorization
|
475
|
+
KindeApi.configure do |config|
|
476
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
477
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
478
|
+
end
|
479
|
+
|
480
|
+
api_instance = KindeApi::UsersApi.new
|
481
|
+
user_id = 'user_id_example' # String | The user's ID.
|
482
|
+
|
483
|
+
begin
|
484
|
+
# Get property values
|
485
|
+
result = api_instance.get_user_property_values(user_id)
|
486
|
+
p result
|
487
|
+
rescue KindeApi::ApiError => e
|
488
|
+
puts "Error when calling UsersApi->get_user_property_values: #{e}"
|
489
|
+
end
|
490
|
+
```
|
491
|
+
|
492
|
+
#### Using the get_user_property_values_with_http_info variant
|
493
|
+
|
494
|
+
This returns an Array which contains the response data, status code and headers.
|
495
|
+
|
496
|
+
> <Array(<GetPropertyValuesResponse>, Integer, Hash)> get_user_property_values_with_http_info(user_id)
|
497
|
+
|
498
|
+
```ruby
|
499
|
+
begin
|
500
|
+
# Get property values
|
501
|
+
data, status_code, headers = api_instance.get_user_property_values_with_http_info(user_id)
|
502
|
+
p status_code # => 2xx
|
503
|
+
p headers # => { ... }
|
504
|
+
p data # => <GetPropertyValuesResponse>
|
505
|
+
rescue KindeApi::ApiError => e
|
506
|
+
puts "Error when calling UsersApi->get_user_property_values_with_http_info: #{e}"
|
507
|
+
end
|
508
|
+
```
|
509
|
+
|
510
|
+
### Parameters
|
511
|
+
|
512
|
+
| Name | Type | Description | Notes |
|
513
|
+
| ---- | ---- | ----------- | ----- |
|
514
|
+
| **user_id** | **String** | The user's ID. | |
|
515
|
+
|
516
|
+
### Return type
|
517
|
+
|
518
|
+
[**GetPropertyValuesResponse**](GetPropertyValuesResponse.md)
|
519
|
+
|
520
|
+
### Authorization
|
521
|
+
|
522
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
523
|
+
|
524
|
+
### HTTP request headers
|
525
|
+
|
526
|
+
- **Content-Type**: Not defined
|
84
527
|
- **Accept**: application/json, application/json; charset=utf-8
|
85
528
|
|
86
529
|
|
87
|
-
##
|
530
|
+
## get_user_sessions
|
531
|
+
|
532
|
+
> <GetUserSessionsResponse> get_user_sessions(user_id)
|
533
|
+
|
534
|
+
Get user sessions
|
535
|
+
|
536
|
+
Retrieve the list of active sessions for a specific user. <div> <code>read:user_sessions</code> </div>
|
537
|
+
|
538
|
+
### Examples
|
539
|
+
|
540
|
+
```ruby
|
541
|
+
require 'time'
|
542
|
+
require 'kinde_api'
|
543
|
+
# setup authorization
|
544
|
+
KindeApi.configure do |config|
|
545
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
546
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
547
|
+
end
|
548
|
+
|
549
|
+
api_instance = KindeApi::UsersApi.new
|
550
|
+
user_id = 'kp_c3143a4b50ad43c88e541d9077681782' # String | The identifier for the user
|
551
|
+
|
552
|
+
begin
|
553
|
+
# Get user sessions
|
554
|
+
result = api_instance.get_user_sessions(user_id)
|
555
|
+
p result
|
556
|
+
rescue KindeApi::ApiError => e
|
557
|
+
puts "Error when calling UsersApi->get_user_sessions: #{e}"
|
558
|
+
end
|
559
|
+
```
|
560
|
+
|
561
|
+
#### Using the get_user_sessions_with_http_info variant
|
562
|
+
|
563
|
+
This returns an Array which contains the response data, status code and headers.
|
564
|
+
|
565
|
+
> <Array(<GetUserSessionsResponse>, Integer, Hash)> get_user_sessions_with_http_info(user_id)
|
566
|
+
|
567
|
+
```ruby
|
568
|
+
begin
|
569
|
+
# Get user sessions
|
570
|
+
data, status_code, headers = api_instance.get_user_sessions_with_http_info(user_id)
|
571
|
+
p status_code # => 2xx
|
572
|
+
p headers # => { ... }
|
573
|
+
p data # => <GetUserSessionsResponse>
|
574
|
+
rescue KindeApi::ApiError => e
|
575
|
+
puts "Error when calling UsersApi->get_user_sessions_with_http_info: #{e}"
|
576
|
+
end
|
577
|
+
```
|
578
|
+
|
579
|
+
### Parameters
|
580
|
+
|
581
|
+
| Name | Type | Description | Notes |
|
582
|
+
| ---- | ---- | ----------- | ----- |
|
583
|
+
| **user_id** | **String** | The identifier for the user | |
|
584
|
+
|
585
|
+
### Return type
|
586
|
+
|
587
|
+
[**GetUserSessionsResponse**](GetUserSessionsResponse.md)
|
588
|
+
|
589
|
+
### Authorization
|
590
|
+
|
591
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
592
|
+
|
593
|
+
### HTTP request headers
|
594
|
+
|
595
|
+
- **Content-Type**: Not defined
|
596
|
+
- **Accept**: application/json
|
597
|
+
|
598
|
+
|
599
|
+
## get_users
|
600
|
+
|
601
|
+
> <UsersResponse> get_users(opts)
|
602
|
+
|
603
|
+
Get users
|
604
|
+
|
605
|
+
The returned list can be sorted by full name or email address in ascending or descending order. The number of records to return at a time can also be controlled using the `page_size` query string parameter. <div> <code>read:users</code> </div>
|
606
|
+
|
607
|
+
### Examples
|
608
|
+
|
609
|
+
```ruby
|
610
|
+
require 'time'
|
611
|
+
require 'kinde_api'
|
612
|
+
# setup authorization
|
613
|
+
KindeApi.configure do |config|
|
614
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
615
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
616
|
+
end
|
617
|
+
|
618
|
+
api_instance = KindeApi::UsersApi.new
|
619
|
+
opts = {
|
620
|
+
page_size: 56, # Integer | Number of results per page. Defaults to 10 if parameter not sent.
|
621
|
+
user_id: 'user_id_example', # String | Filter the results by User ID. The query string should be comma separated and url encoded.
|
622
|
+
next_token: 'next_token_example', # String | A string to get the next page of results if there are more results.
|
623
|
+
email: 'email_example', # String | Filter the results by email address. The query string should be comma separated and url encoded.
|
624
|
+
username: 'username_example', # String | Filter the results by username. The query string should be comma separated and url encoded.
|
625
|
+
expand: 'expand_example', # String | Specify additional data to retrieve. Use \"organizations\" and/or \"identities\".
|
626
|
+
has_organization: true # Boolean | Filter the results by if the user has at least one organization assigned.
|
627
|
+
}
|
628
|
+
|
629
|
+
begin
|
630
|
+
# Get users
|
631
|
+
result = api_instance.get_users(opts)
|
632
|
+
p result
|
633
|
+
rescue KindeApi::ApiError => e
|
634
|
+
puts "Error when calling UsersApi->get_users: #{e}"
|
635
|
+
end
|
636
|
+
```
|
637
|
+
|
638
|
+
#### Using the get_users_with_http_info variant
|
639
|
+
|
640
|
+
This returns an Array which contains the response data, status code and headers.
|
641
|
+
|
642
|
+
> <Array(<UsersResponse>, Integer, Hash)> get_users_with_http_info(opts)
|
643
|
+
|
644
|
+
```ruby
|
645
|
+
begin
|
646
|
+
# Get users
|
647
|
+
data, status_code, headers = api_instance.get_users_with_http_info(opts)
|
648
|
+
p status_code # => 2xx
|
649
|
+
p headers # => { ... }
|
650
|
+
p data # => <UsersResponse>
|
651
|
+
rescue KindeApi::ApiError => e
|
652
|
+
puts "Error when calling UsersApi->get_users_with_http_info: #{e}"
|
653
|
+
end
|
654
|
+
```
|
655
|
+
|
656
|
+
### Parameters
|
657
|
+
|
658
|
+
| Name | Type | Description | Notes |
|
659
|
+
| ---- | ---- | ----------- | ----- |
|
660
|
+
| **page_size** | **Integer** | Number of results per page. Defaults to 10 if parameter not sent. | [optional] |
|
661
|
+
| **user_id** | **String** | Filter the results by User ID. The query string should be comma separated and url encoded. | [optional] |
|
662
|
+
| **next_token** | **String** | A string to get the next page of results if there are more results. | [optional] |
|
663
|
+
| **email** | **String** | Filter the results by email address. The query string should be comma separated and url encoded. | [optional] |
|
664
|
+
| **username** | **String** | Filter the results by username. The query string should be comma separated and url encoded. | [optional] |
|
665
|
+
| **expand** | **String** | Specify additional data to retrieve. Use \"organizations\" and/or \"identities\". | [optional] |
|
666
|
+
| **has_organization** | **Boolean** | Filter the results by if the user has at least one organization assigned. | [optional] |
|
667
|
+
|
668
|
+
### Return type
|
669
|
+
|
670
|
+
[**UsersResponse**](UsersResponse.md)
|
671
|
+
|
672
|
+
### Authorization
|
673
|
+
|
674
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
675
|
+
|
676
|
+
### HTTP request headers
|
677
|
+
|
678
|
+
- **Content-Type**: Not defined
|
679
|
+
- **Accept**: application/json
|
680
|
+
|
681
|
+
|
682
|
+
## get_users_mfa
|
683
|
+
|
684
|
+
> <GetUserMfaResponse> get_users_mfa(user_id)
|
685
|
+
|
686
|
+
Get user's MFA configuration
|
687
|
+
|
688
|
+
Get a user’s MFA configuration. <div> <code>read:user_mfa</code> </div>
|
689
|
+
|
690
|
+
### Examples
|
88
691
|
|
89
|
-
|
692
|
+
```ruby
|
693
|
+
require 'time'
|
694
|
+
require 'kinde_api'
|
695
|
+
# setup authorization
|
696
|
+
KindeApi.configure do |config|
|
697
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
698
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
699
|
+
end
|
700
|
+
|
701
|
+
api_instance = KindeApi::UsersApi.new
|
702
|
+
user_id = 'kp_c3143a4b50ad43c88e541d9077681782' # String | The identifier for the user
|
703
|
+
|
704
|
+
begin
|
705
|
+
# Get user's MFA configuration
|
706
|
+
result = api_instance.get_users_mfa(user_id)
|
707
|
+
p result
|
708
|
+
rescue KindeApi::ApiError => e
|
709
|
+
puts "Error when calling UsersApi->get_users_mfa: #{e}"
|
710
|
+
end
|
711
|
+
```
|
712
|
+
|
713
|
+
#### Using the get_users_mfa_with_http_info variant
|
714
|
+
|
715
|
+
This returns an Array which contains the response data, status code and headers.
|
716
|
+
|
717
|
+
> <Array(<GetUserMfaResponse>, Integer, Hash)> get_users_mfa_with_http_info(user_id)
|
718
|
+
|
719
|
+
```ruby
|
720
|
+
begin
|
721
|
+
# Get user's MFA configuration
|
722
|
+
data, status_code, headers = api_instance.get_users_mfa_with_http_info(user_id)
|
723
|
+
p status_code # => 2xx
|
724
|
+
p headers # => { ... }
|
725
|
+
p data # => <GetUserMfaResponse>
|
726
|
+
rescue KindeApi::ApiError => e
|
727
|
+
puts "Error when calling UsersApi->get_users_mfa_with_http_info: #{e}"
|
728
|
+
end
|
729
|
+
```
|
730
|
+
|
731
|
+
### Parameters
|
732
|
+
|
733
|
+
| Name | Type | Description | Notes |
|
734
|
+
| ---- | ---- | ----------- | ----- |
|
735
|
+
| **user_id** | **String** | The identifier for the user | |
|
736
|
+
|
737
|
+
### Return type
|
738
|
+
|
739
|
+
[**GetUserMfaResponse**](GetUserMfaResponse.md)
|
740
|
+
|
741
|
+
### Authorization
|
742
|
+
|
743
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
744
|
+
|
745
|
+
### HTTP request headers
|
746
|
+
|
747
|
+
- **Content-Type**: Not defined
|
748
|
+
- **Accept**: application/json
|
90
749
|
|
91
|
-
Delete User
|
92
750
|
|
93
|
-
|
751
|
+
## refresh_user_claims
|
752
|
+
|
753
|
+
> <SuccessResponse> refresh_user_claims(user_id)
|
754
|
+
|
755
|
+
Refresh User Claims and Invalidate Cache
|
756
|
+
|
757
|
+
Refreshes the user's claims and invalidates the current cache. <div> <code>update:user_refresh_claims</code> </div>
|
94
758
|
|
95
759
|
### Examples
|
96
760
|
|
@@ -104,35 +768,32 @@ KindeApi.configure do |config|
|
|
104
768
|
end
|
105
769
|
|
106
770
|
api_instance = KindeApi::UsersApi.new
|
107
|
-
|
108
|
-
opts = {
|
109
|
-
is_delete_profile: true # Boolean | Delete all data and remove the user's profile from all of Kinde, including the subscriber list
|
110
|
-
}
|
771
|
+
user_id = 'user_id_example' # String | The id of the user whose claims needs to be updated.
|
111
772
|
|
112
773
|
begin
|
113
|
-
#
|
114
|
-
result = api_instance.
|
774
|
+
# Refresh User Claims and Invalidate Cache
|
775
|
+
result = api_instance.refresh_user_claims(user_id)
|
115
776
|
p result
|
116
777
|
rescue KindeApi::ApiError => e
|
117
|
-
puts "Error when calling UsersApi->
|
778
|
+
puts "Error when calling UsersApi->refresh_user_claims: #{e}"
|
118
779
|
end
|
119
780
|
```
|
120
781
|
|
121
|
-
#### Using the
|
782
|
+
#### Using the refresh_user_claims_with_http_info variant
|
122
783
|
|
123
784
|
This returns an Array which contains the response data, status code and headers.
|
124
785
|
|
125
|
-
> <Array(<SuccessResponse>, Integer, Hash)>
|
786
|
+
> <Array(<SuccessResponse>, Integer, Hash)> refresh_user_claims_with_http_info(user_id)
|
126
787
|
|
127
788
|
```ruby
|
128
789
|
begin
|
129
|
-
#
|
130
|
-
data, status_code, headers = api_instance.
|
790
|
+
# Refresh User Claims and Invalidate Cache
|
791
|
+
data, status_code, headers = api_instance.refresh_user_claims_with_http_info(user_id)
|
131
792
|
p status_code # => 2xx
|
132
793
|
p headers # => { ... }
|
133
794
|
p data # => <SuccessResponse>
|
134
795
|
rescue KindeApi::ApiError => e
|
135
|
-
puts "Error when calling UsersApi->
|
796
|
+
puts "Error when calling UsersApi->refresh_user_claims_with_http_info: #{e}"
|
136
797
|
end
|
137
798
|
```
|
138
799
|
|
@@ -140,8 +801,7 @@ end
|
|
140
801
|
|
141
802
|
| Name | Type | Description | Notes |
|
142
803
|
| ---- | ---- | ----------- | ----- |
|
143
|
-
| **
|
144
|
-
| **is_delete_profile** | **Boolean** | Delete all data and remove the user's profile from all of Kinde, including the subscriber list | [optional] |
|
804
|
+
| **user_id** | **String** | The id of the user whose claims needs to be updated. | |
|
145
805
|
|
146
806
|
### Return type
|
147
807
|
|
@@ -154,16 +814,16 @@ end
|
|
154
814
|
### HTTP request headers
|
155
815
|
|
156
816
|
- **Content-Type**: Not defined
|
157
|
-
- **Accept**: application/json
|
817
|
+
- **Accept**: application/json; charset=utf-8, application/json
|
158
818
|
|
159
819
|
|
160
|
-
##
|
820
|
+
## reset_users_mfa
|
161
821
|
|
162
|
-
> <
|
822
|
+
> <SuccessResponse> reset_users_mfa(user_id, factor_id)
|
163
823
|
|
164
|
-
|
824
|
+
Reset specific environment MFA for a user
|
165
825
|
|
166
|
-
|
826
|
+
Reset a specific environment MFA factor for a user. <div> <code>delete:user_mfa</code> </div>
|
167
827
|
|
168
828
|
### Examples
|
169
829
|
|
@@ -177,35 +837,33 @@ KindeApi.configure do |config|
|
|
177
837
|
end
|
178
838
|
|
179
839
|
api_instance = KindeApi::UsersApi.new
|
180
|
-
|
181
|
-
|
182
|
-
expand: 'expand_example' # String | Specify additional data to retrieve. Use \"organizations\" and/or \"identities\".
|
183
|
-
}
|
840
|
+
user_id = 'kp_c3143a4b50ad43c88e541d9077681782' # String | The identifier for the user
|
841
|
+
factor_id = 'mfa_0193278a00ac29b3f6d4e4d462d55c47' # String | The identifier for the MFA factor
|
184
842
|
|
185
843
|
begin
|
186
|
-
#
|
187
|
-
result = api_instance.
|
844
|
+
# Reset specific environment MFA for a user
|
845
|
+
result = api_instance.reset_users_mfa(user_id, factor_id)
|
188
846
|
p result
|
189
847
|
rescue KindeApi::ApiError => e
|
190
|
-
puts "Error when calling UsersApi->
|
848
|
+
puts "Error when calling UsersApi->reset_users_mfa: #{e}"
|
191
849
|
end
|
192
850
|
```
|
193
851
|
|
194
|
-
#### Using the
|
852
|
+
#### Using the reset_users_mfa_with_http_info variant
|
195
853
|
|
196
854
|
This returns an Array which contains the response data, status code and headers.
|
197
855
|
|
198
|
-
> <Array(<
|
856
|
+
> <Array(<SuccessResponse>, Integer, Hash)> reset_users_mfa_with_http_info(user_id, factor_id)
|
199
857
|
|
200
858
|
```ruby
|
201
859
|
begin
|
202
|
-
#
|
203
|
-
data, status_code, headers = api_instance.
|
860
|
+
# Reset specific environment MFA for a user
|
861
|
+
data, status_code, headers = api_instance.reset_users_mfa_with_http_info(user_id, factor_id)
|
204
862
|
p status_code # => 2xx
|
205
863
|
p headers # => { ... }
|
206
|
-
p data # => <
|
864
|
+
p data # => <SuccessResponse>
|
207
865
|
rescue KindeApi::ApiError => e
|
208
|
-
puts "Error when calling UsersApi->
|
866
|
+
puts "Error when calling UsersApi->reset_users_mfa_with_http_info: #{e}"
|
209
867
|
end
|
210
868
|
```
|
211
869
|
|
@@ -213,12 +871,12 @@ end
|
|
213
871
|
|
214
872
|
| Name | Type | Description | Notes |
|
215
873
|
| ---- | ---- | ----------- | ----- |
|
216
|
-
| **
|
217
|
-
| **
|
874
|
+
| **user_id** | **String** | The identifier for the user | |
|
875
|
+
| **factor_id** | **String** | The identifier for the MFA factor | |
|
218
876
|
|
219
877
|
### Return type
|
220
878
|
|
221
|
-
[**
|
879
|
+
[**SuccessResponse**](SuccessResponse.md)
|
222
880
|
|
223
881
|
### Authorization
|
224
882
|
|
@@ -227,16 +885,16 @@ end
|
|
227
885
|
### HTTP request headers
|
228
886
|
|
229
887
|
- **Content-Type**: Not defined
|
230
|
-
- **Accept**: application/json
|
888
|
+
- **Accept**: application/json
|
231
889
|
|
232
890
|
|
233
|
-
##
|
891
|
+
## reset_users_mfa_all
|
234
892
|
|
235
|
-
> <
|
893
|
+
> <SuccessResponse> reset_users_mfa_all(user_id)
|
236
894
|
|
237
|
-
|
895
|
+
Reset all environment MFA for a user
|
238
896
|
|
239
|
-
|
897
|
+
Reset all environment MFA factors for a user. <div> <code>delete:user_mfa</code> </div>
|
240
898
|
|
241
899
|
### Examples
|
242
900
|
|
@@ -250,38 +908,32 @@ KindeApi.configure do |config|
|
|
250
908
|
end
|
251
909
|
|
252
910
|
api_instance = KindeApi::UsersApi.new
|
253
|
-
|
254
|
-
page_size: 56, # Integer | Number of results per page. Defaults to 10 if parameter not sent.
|
255
|
-
user_id: 'user_id_example', # String | ID of the user to filter by.
|
256
|
-
next_token: 'next_token_example', # String | A string to get the next page of results if there are more results.
|
257
|
-
email: 'email_example', # String | Filter the results by email address. The query string should be comma separated and url encoded.
|
258
|
-
expand: 'expand_example' # String | Specify additional data to retrieve. Use \"organizations\" and/or \"identities\".
|
259
|
-
}
|
911
|
+
user_id = 'kp_c3143a4b50ad43c88e541d9077681782' # String | The identifier for the user
|
260
912
|
|
261
913
|
begin
|
262
|
-
#
|
263
|
-
result = api_instance.
|
914
|
+
# Reset all environment MFA for a user
|
915
|
+
result = api_instance.reset_users_mfa_all(user_id)
|
264
916
|
p result
|
265
917
|
rescue KindeApi::ApiError => e
|
266
|
-
puts "Error when calling UsersApi->
|
918
|
+
puts "Error when calling UsersApi->reset_users_mfa_all: #{e}"
|
267
919
|
end
|
268
920
|
```
|
269
921
|
|
270
|
-
#### Using the
|
922
|
+
#### Using the reset_users_mfa_all_with_http_info variant
|
271
923
|
|
272
924
|
This returns an Array which contains the response data, status code and headers.
|
273
925
|
|
274
|
-
> <Array(<
|
926
|
+
> <Array(<SuccessResponse>, Integer, Hash)> reset_users_mfa_all_with_http_info(user_id)
|
275
927
|
|
276
928
|
```ruby
|
277
929
|
begin
|
278
|
-
#
|
279
|
-
data, status_code, headers = api_instance.
|
930
|
+
# Reset all environment MFA for a user
|
931
|
+
data, status_code, headers = api_instance.reset_users_mfa_all_with_http_info(user_id)
|
280
932
|
p status_code # => 2xx
|
281
933
|
p headers # => { ... }
|
282
|
-
p data # => <
|
934
|
+
p data # => <SuccessResponse>
|
283
935
|
rescue KindeApi::ApiError => e
|
284
|
-
puts "Error when calling UsersApi->
|
936
|
+
puts "Error when calling UsersApi->reset_users_mfa_all_with_http_info: #{e}"
|
285
937
|
end
|
286
938
|
```
|
287
939
|
|
@@ -289,15 +941,11 @@ end
|
|
289
941
|
|
290
942
|
| Name | Type | Description | Notes |
|
291
943
|
| ---- | ---- | ----------- | ----- |
|
292
|
-
| **
|
293
|
-
| **user_id** | **String** | ID of the user to filter by. | [optional] |
|
294
|
-
| **next_token** | **String** | A string to get the next page of results if there are more results. | [optional] |
|
295
|
-
| **email** | **String** | Filter the results by email address. The query string should be comma separated and url encoded. | [optional] |
|
296
|
-
| **expand** | **String** | Specify additional data to retrieve. Use \"organizations\" and/or \"identities\". | [optional] |
|
944
|
+
| **user_id** | **String** | The identifier for the user | |
|
297
945
|
|
298
946
|
### Return type
|
299
947
|
|
300
|
-
[**
|
948
|
+
[**SuccessResponse**](SuccessResponse.md)
|
301
949
|
|
302
950
|
### Authorization
|
303
951
|
|
@@ -306,16 +954,16 @@ end
|
|
306
954
|
### HTTP request headers
|
307
955
|
|
308
956
|
- **Content-Type**: Not defined
|
309
|
-
- **Accept**: application/json
|
957
|
+
- **Accept**: application/json
|
310
958
|
|
311
959
|
|
312
|
-
##
|
960
|
+
## set_user_password
|
313
961
|
|
314
|
-
> <SuccessResponse>
|
962
|
+
> <SuccessResponse> set_user_password(user_id, set_user_password_request)
|
315
963
|
|
316
|
-
|
964
|
+
Set User password
|
317
965
|
|
318
|
-
|
966
|
+
Set user password. <div> <code>update:user_passwords</code> </div>
|
319
967
|
|
320
968
|
### Examples
|
321
969
|
|
@@ -329,32 +977,33 @@ KindeApi.configure do |config|
|
|
329
977
|
end
|
330
978
|
|
331
979
|
api_instance = KindeApi::UsersApi.new
|
332
|
-
user_id = 'user_id_example' # String | The
|
980
|
+
user_id = 'user_id_example' # String | The identifier for the user
|
981
|
+
set_user_password_request = KindeApi::SetUserPasswordRequest.new({hashed_password: 'hashed_password_example'}) # SetUserPasswordRequest | Password details.
|
333
982
|
|
334
983
|
begin
|
335
|
-
#
|
336
|
-
result = api_instance.
|
984
|
+
# Set User password
|
985
|
+
result = api_instance.set_user_password(user_id, set_user_password_request)
|
337
986
|
p result
|
338
987
|
rescue KindeApi::ApiError => e
|
339
|
-
puts "Error when calling UsersApi->
|
988
|
+
puts "Error when calling UsersApi->set_user_password: #{e}"
|
340
989
|
end
|
341
990
|
```
|
342
991
|
|
343
|
-
#### Using the
|
992
|
+
#### Using the set_user_password_with_http_info variant
|
344
993
|
|
345
994
|
This returns an Array which contains the response data, status code and headers.
|
346
995
|
|
347
|
-
> <Array(<SuccessResponse>, Integer, Hash)>
|
996
|
+
> <Array(<SuccessResponse>, Integer, Hash)> set_user_password_with_http_info(user_id, set_user_password_request)
|
348
997
|
|
349
998
|
```ruby
|
350
999
|
begin
|
351
|
-
#
|
352
|
-
data, status_code, headers = api_instance.
|
1000
|
+
# Set User password
|
1001
|
+
data, status_code, headers = api_instance.set_user_password_with_http_info(user_id, set_user_password_request)
|
353
1002
|
p status_code # => 2xx
|
354
1003
|
p headers # => { ... }
|
355
1004
|
p data # => <SuccessResponse>
|
356
1005
|
rescue KindeApi::ApiError => e
|
357
|
-
puts "Error when calling UsersApi->
|
1006
|
+
puts "Error when calling UsersApi->set_user_password_with_http_info: #{e}"
|
358
1007
|
end
|
359
1008
|
```
|
360
1009
|
|
@@ -362,7 +1011,8 @@ end
|
|
362
1011
|
|
363
1012
|
| Name | Type | Description | Notes |
|
364
1013
|
| ---- | ---- | ----------- | ----- |
|
365
|
-
| **user_id** | **String** | The
|
1014
|
+
| **user_id** | **String** | The identifier for the user | |
|
1015
|
+
| **set_user_password_request** | [**SetUserPasswordRequest**](SetUserPasswordRequest.md) | Password details. | |
|
366
1016
|
|
367
1017
|
### Return type
|
368
1018
|
|
@@ -374,17 +1024,17 @@ end
|
|
374
1024
|
|
375
1025
|
### HTTP request headers
|
376
1026
|
|
377
|
-
- **Content-Type**:
|
378
|
-
- **Accept**: application/json; charset=utf-8
|
1027
|
+
- **Content-Type**: application/json
|
1028
|
+
- **Accept**: application/json, application/json; charset=utf-8
|
379
1029
|
|
380
1030
|
|
381
1031
|
## update_user
|
382
1032
|
|
383
1033
|
> <UpdateUserResponse> update_user(id, update_user_request)
|
384
1034
|
|
385
|
-
Update
|
1035
|
+
Update user
|
386
1036
|
|
387
|
-
Update a user record.
|
1037
|
+
Update a user record. <div> <code>update:users</code> </div>
|
388
1038
|
|
389
1039
|
### Examples
|
390
1040
|
|
@@ -402,7 +1052,7 @@ id = 'id_example' # String | The user's id.
|
|
402
1052
|
update_user_request = KindeApi::UpdateUserRequest.new # UpdateUserRequest | The user to update.
|
403
1053
|
|
404
1054
|
begin
|
405
|
-
# Update
|
1055
|
+
# Update user
|
406
1056
|
result = api_instance.update_user(id, update_user_request)
|
407
1057
|
p result
|
408
1058
|
rescue KindeApi::ApiError => e
|
@@ -418,7 +1068,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
418
1068
|
|
419
1069
|
```ruby
|
420
1070
|
begin
|
421
|
-
# Update
|
1071
|
+
# Update user
|
422
1072
|
data, status_code, headers = api_instance.update_user_with_http_info(id, update_user_request)
|
423
1073
|
p status_code # => 2xx
|
424
1074
|
p headers # => { ... }
|
@@ -446,7 +1096,7 @@ end
|
|
446
1096
|
### HTTP request headers
|
447
1097
|
|
448
1098
|
- **Content-Type**: application/json
|
449
|
-
- **Accept**: application/json
|
1099
|
+
- **Accept**: application/json
|
450
1100
|
|
451
1101
|
|
452
1102
|
## update_user_feature_flag_override
|
@@ -455,7 +1105,7 @@ end
|
|
455
1105
|
|
456
1106
|
Update User Feature Flag Override
|
457
1107
|
|
458
|
-
Update user feature flag override.
|
1108
|
+
Update user feature flag override. <div> <code>update:user_feature_flags</code> </div>
|
459
1109
|
|
460
1110
|
### Examples
|
461
1111
|
|
@@ -521,3 +1171,147 @@ end
|
|
521
1171
|
- **Content-Type**: Not defined
|
522
1172
|
- **Accept**: application/json, application/json; charset=utf-8
|
523
1173
|
|
1174
|
+
|
1175
|
+
## update_user_properties
|
1176
|
+
|
1177
|
+
> <SuccessResponse> update_user_properties(user_id, update_organization_properties_request)
|
1178
|
+
|
1179
|
+
Update Property values
|
1180
|
+
|
1181
|
+
Update property values. <div> <code>update:user_properties</code> </div>
|
1182
|
+
|
1183
|
+
### Examples
|
1184
|
+
|
1185
|
+
```ruby
|
1186
|
+
require 'time'
|
1187
|
+
require 'kinde_api'
|
1188
|
+
# setup authorization
|
1189
|
+
KindeApi.configure do |config|
|
1190
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1191
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
api_instance = KindeApi::UsersApi.new
|
1195
|
+
user_id = 'user_id_example' # String | The identifier for the user
|
1196
|
+
update_organization_properties_request = KindeApi::UpdateOrganizationPropertiesRequest.new({properties: 3.56}) # UpdateOrganizationPropertiesRequest | Properties to update.
|
1197
|
+
|
1198
|
+
begin
|
1199
|
+
# Update Property values
|
1200
|
+
result = api_instance.update_user_properties(user_id, update_organization_properties_request)
|
1201
|
+
p result
|
1202
|
+
rescue KindeApi::ApiError => e
|
1203
|
+
puts "Error when calling UsersApi->update_user_properties: #{e}"
|
1204
|
+
end
|
1205
|
+
```
|
1206
|
+
|
1207
|
+
#### Using the update_user_properties_with_http_info variant
|
1208
|
+
|
1209
|
+
This returns an Array which contains the response data, status code and headers.
|
1210
|
+
|
1211
|
+
> <Array(<SuccessResponse>, Integer, Hash)> update_user_properties_with_http_info(user_id, update_organization_properties_request)
|
1212
|
+
|
1213
|
+
```ruby
|
1214
|
+
begin
|
1215
|
+
# Update Property values
|
1216
|
+
data, status_code, headers = api_instance.update_user_properties_with_http_info(user_id, update_organization_properties_request)
|
1217
|
+
p status_code # => 2xx
|
1218
|
+
p headers # => { ... }
|
1219
|
+
p data # => <SuccessResponse>
|
1220
|
+
rescue KindeApi::ApiError => e
|
1221
|
+
puts "Error when calling UsersApi->update_user_properties_with_http_info: #{e}"
|
1222
|
+
end
|
1223
|
+
```
|
1224
|
+
|
1225
|
+
### Parameters
|
1226
|
+
|
1227
|
+
| Name | Type | Description | Notes |
|
1228
|
+
| ---- | ---- | ----------- | ----- |
|
1229
|
+
| **user_id** | **String** | The identifier for the user | |
|
1230
|
+
| **update_organization_properties_request** | [**UpdateOrganizationPropertiesRequest**](UpdateOrganizationPropertiesRequest.md) | Properties to update. | |
|
1231
|
+
|
1232
|
+
### Return type
|
1233
|
+
|
1234
|
+
[**SuccessResponse**](SuccessResponse.md)
|
1235
|
+
|
1236
|
+
### Authorization
|
1237
|
+
|
1238
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1239
|
+
|
1240
|
+
### HTTP request headers
|
1241
|
+
|
1242
|
+
- **Content-Type**: application/json
|
1243
|
+
- **Accept**: application/json, application/json; charset=utf-8
|
1244
|
+
|
1245
|
+
|
1246
|
+
## update_user_property
|
1247
|
+
|
1248
|
+
> <SuccessResponse> update_user_property(user_id, property_key, value)
|
1249
|
+
|
1250
|
+
Update Property value
|
1251
|
+
|
1252
|
+
Update property value. <div> <code>update:user_properties</code> </div>
|
1253
|
+
|
1254
|
+
### Examples
|
1255
|
+
|
1256
|
+
```ruby
|
1257
|
+
require 'time'
|
1258
|
+
require 'kinde_api'
|
1259
|
+
# setup authorization
|
1260
|
+
KindeApi.configure do |config|
|
1261
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1262
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1263
|
+
end
|
1264
|
+
|
1265
|
+
api_instance = KindeApi::UsersApi.new
|
1266
|
+
user_id = 'user_id_example' # String | The identifier for the user
|
1267
|
+
property_key = 'property_key_example' # String | The identifier for the property
|
1268
|
+
value = 'value_example' # String | The new property value
|
1269
|
+
|
1270
|
+
begin
|
1271
|
+
# Update Property value
|
1272
|
+
result = api_instance.update_user_property(user_id, property_key, value)
|
1273
|
+
p result
|
1274
|
+
rescue KindeApi::ApiError => e
|
1275
|
+
puts "Error when calling UsersApi->update_user_property: #{e}"
|
1276
|
+
end
|
1277
|
+
```
|
1278
|
+
|
1279
|
+
#### Using the update_user_property_with_http_info variant
|
1280
|
+
|
1281
|
+
This returns an Array which contains the response data, status code and headers.
|
1282
|
+
|
1283
|
+
> <Array(<SuccessResponse>, Integer, Hash)> update_user_property_with_http_info(user_id, property_key, value)
|
1284
|
+
|
1285
|
+
```ruby
|
1286
|
+
begin
|
1287
|
+
# Update Property value
|
1288
|
+
data, status_code, headers = api_instance.update_user_property_with_http_info(user_id, property_key, value)
|
1289
|
+
p status_code # => 2xx
|
1290
|
+
p headers # => { ... }
|
1291
|
+
p data # => <SuccessResponse>
|
1292
|
+
rescue KindeApi::ApiError => e
|
1293
|
+
puts "Error when calling UsersApi->update_user_property_with_http_info: #{e}"
|
1294
|
+
end
|
1295
|
+
```
|
1296
|
+
|
1297
|
+
### Parameters
|
1298
|
+
|
1299
|
+
| Name | Type | Description | Notes |
|
1300
|
+
| ---- | ---- | ----------- | ----- |
|
1301
|
+
| **user_id** | **String** | The identifier for the user | |
|
1302
|
+
| **property_key** | **String** | The identifier for the property | |
|
1303
|
+
| **value** | **String** | The new property value | |
|
1304
|
+
|
1305
|
+
### Return type
|
1306
|
+
|
1307
|
+
[**SuccessResponse**](SuccessResponse.md)
|
1308
|
+
|
1309
|
+
### Authorization
|
1310
|
+
|
1311
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1312
|
+
|
1313
|
+
### HTTP request headers
|
1314
|
+
|
1315
|
+
- **Content-Type**: Not defined
|
1316
|
+
- **Accept**: application/json, application/json; charset=utf-8
|
1317
|
+
|