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
@@ -1,37 +1,201 @@
|
|
1
1
|
# KindeApi::OrganizationsApi
|
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
|
+
| [**add_organization_logo**](OrganizationsApi.md#add_organization_logo) | **POST** /api/v1/organizations/{org_code}/logos/{type} | Add organization logo |
|
8
|
+
| [**add_organization_user_api_scope**](OrganizationsApi.md#add_organization_user_api_scope) | **POST** /api/v1/organizations/{org_code}/users/{user_id}/apis/{api_id}/scopes/{scope_id} | Add scope to organization user api |
|
7
9
|
| [**add_organization_users**](OrganizationsApi.md#add_organization_users) | **POST** /api/v1/organizations/{org_code}/users | Add Organization Users |
|
8
|
-
| [**create_organization**](OrganizationsApi.md#create_organization) | **POST** /api/v1/organization | Create
|
10
|
+
| [**create_organization**](OrganizationsApi.md#create_organization) | **POST** /api/v1/organization | Create organization |
|
9
11
|
| [**create_organization_user_permission**](OrganizationsApi.md#create_organization_user_permission) | **POST** /api/v1/organizations/{org_code}/users/{user_id}/permissions | Add Organization User Permission |
|
10
12
|
| [**create_organization_user_role**](OrganizationsApi.md#create_organization_user_role) | **POST** /api/v1/organizations/{org_code}/users/{user_id}/roles | Add Organization User Role |
|
11
13
|
| [**delete_organization**](OrganizationsApi.md#delete_organization) | **DELETE** /api/v1/organization/{org_code} | Delete Organization |
|
12
14
|
| [**delete_organization_feature_flag_override**](OrganizationsApi.md#delete_organization_feature_flag_override) | **DELETE** /api/v1/organizations/{org_code}/feature_flags/{feature_flag_key} | Delete Organization Feature Flag Override |
|
13
15
|
| [**delete_organization_feature_flag_overrides**](OrganizationsApi.md#delete_organization_feature_flag_overrides) | **DELETE** /api/v1/organizations/{org_code}/feature_flags | Delete Organization Feature Flag Overrides |
|
16
|
+
| [**delete_organization_handle**](OrganizationsApi.md#delete_organization_handle) | **DELETE** /api/v1/organization/{org_code}/handle | Delete organization handle |
|
17
|
+
| [**delete_organization_logo**](OrganizationsApi.md#delete_organization_logo) | **DELETE** /api/v1/organizations/{org_code}/logos/{type} | Delete organization logo |
|
18
|
+
| [**delete_organization_user_api_scope**](OrganizationsApi.md#delete_organization_user_api_scope) | **DELETE** /api/v1/organizations/{org_code}/users/{user_id}/apis/{api_id}/scopes/{scope_id} | Delete scope from organization user API |
|
14
19
|
| [**delete_organization_user_permission**](OrganizationsApi.md#delete_organization_user_permission) | **DELETE** /api/v1/organizations/{org_code}/users/{user_id}/permissions/{permission_id} | Delete Organization User Permission |
|
15
20
|
| [**delete_organization_user_role**](OrganizationsApi.md#delete_organization_user_role) | **DELETE** /api/v1/organizations/{org_code}/users/{user_id}/roles/{role_id} | Delete Organization User Role |
|
16
|
-
| [**
|
21
|
+
| [**enable_org_connection**](OrganizationsApi.md#enable_org_connection) | **POST** /api/v1/organizations/{organization_code}/connections/{connection_id} | Enable connection |
|
22
|
+
| [**get_org_user_mfa**](OrganizationsApi.md#get_org_user_mfa) | **GET** /api/v1/organizations/{org_code}/users/{user_id}/mfa | Get an organization user's MFA configuration |
|
23
|
+
| [**get_organization**](OrganizationsApi.md#get_organization) | **GET** /api/v1/organization | Get organization |
|
24
|
+
| [**get_organization_connections**](OrganizationsApi.md#get_organization_connections) | **GET** /api/v1/organizations/{organization_code}/connections | Get connections |
|
17
25
|
| [**get_organization_feature_flags**](OrganizationsApi.md#get_organization_feature_flags) | **GET** /api/v1/organizations/{org_code}/feature_flags | List Organization Feature Flags |
|
26
|
+
| [**get_organization_property_values**](OrganizationsApi.md#get_organization_property_values) | **GET** /api/v1/organizations/{org_code}/properties | Get Organization Property Values |
|
18
27
|
| [**get_organization_user_permissions**](OrganizationsApi.md#get_organization_user_permissions) | **GET** /api/v1/organizations/{org_code}/users/{user_id}/permissions | List Organization User Permissions |
|
19
28
|
| [**get_organization_user_roles**](OrganizationsApi.md#get_organization_user_roles) | **GET** /api/v1/organizations/{org_code}/users/{user_id}/roles | List Organization User Roles |
|
20
|
-
| [**get_organization_users**](OrganizationsApi.md#get_organization_users) | **GET** /api/v1/organizations/{org_code}/users |
|
21
|
-
| [**get_organizations**](OrganizationsApi.md#get_organizations) | **GET** /api/v1/organizations |
|
29
|
+
| [**get_organization_users**](OrganizationsApi.md#get_organization_users) | **GET** /api/v1/organizations/{org_code}/users | Get organization users |
|
30
|
+
| [**get_organizations**](OrganizationsApi.md#get_organizations) | **GET** /api/v1/organizations | Get organizations |
|
31
|
+
| [**read_organization_logo**](OrganizationsApi.md#read_organization_logo) | **GET** /api/v1/organizations/{org_code}/logos | Read organization logo details |
|
32
|
+
| [**remove_org_connection**](OrganizationsApi.md#remove_org_connection) | **DELETE** /api/v1/organizations/{organization_code}/connections/{connection_id} | Remove connection |
|
22
33
|
| [**remove_organization_user**](OrganizationsApi.md#remove_organization_user) | **DELETE** /api/v1/organizations/{org_code}/users/{user_id} | Remove Organization User |
|
34
|
+
| [**replace_organization_mfa**](OrganizationsApi.md#replace_organization_mfa) | **PUT** /api/v1/organizations/{org_code}/mfa | Replace Organization MFA Configuration |
|
35
|
+
| [**reset_org_user_mfa**](OrganizationsApi.md#reset_org_user_mfa) | **DELETE** /api/v1/organizations/{org_code}/users/{user_id}/mfa/{factor_id} | Reset specific organization MFA for a user |
|
36
|
+
| [**reset_org_user_mfa_all**](OrganizationsApi.md#reset_org_user_mfa_all) | **DELETE** /api/v1/organizations/{org_code}/users/{user_id}/mfa | Reset all organization MFA for a user |
|
23
37
|
| [**update_organization**](OrganizationsApi.md#update_organization) | **PATCH** /api/v1/organization/{org_code} | Update Organization |
|
24
38
|
| [**update_organization_feature_flag_override**](OrganizationsApi.md#update_organization_feature_flag_override) | **PATCH** /api/v1/organizations/{org_code}/feature_flags/{feature_flag_key} | Update Organization Feature Flag Override |
|
39
|
+
| [**update_organization_properties**](OrganizationsApi.md#update_organization_properties) | **PATCH** /api/v1/organizations/{org_code}/properties | Update Organization Property values |
|
40
|
+
| [**update_organization_property**](OrganizationsApi.md#update_organization_property) | **PUT** /api/v1/organizations/{org_code}/properties/{property_key} | Update Organization Property value |
|
41
|
+
| [**update_organization_sessions**](OrganizationsApi.md#update_organization_sessions) | **PATCH** /api/v1/organizations/{org_code}/sessions | Update organization session configuration |
|
25
42
|
| [**update_organization_users**](OrganizationsApi.md#update_organization_users) | **PATCH** /api/v1/organizations/{org_code}/users | Update Organization Users |
|
26
43
|
|
27
44
|
|
45
|
+
## add_organization_logo
|
46
|
+
|
47
|
+
> <SuccessResponse> add_organization_logo(org_code, type, logo)
|
48
|
+
|
49
|
+
Add organization logo
|
50
|
+
|
51
|
+
Add organization logo <div> <code>update:organizations</code> </div>
|
52
|
+
|
53
|
+
### Examples
|
54
|
+
|
55
|
+
```ruby
|
56
|
+
require 'time'
|
57
|
+
require 'kinde_api'
|
58
|
+
# setup authorization
|
59
|
+
KindeApi.configure do |config|
|
60
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
61
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
62
|
+
end
|
63
|
+
|
64
|
+
api_instance = KindeApi::OrganizationsApi.new
|
65
|
+
org_code = 'org_1ccfb819462' # String | The organization's code.
|
66
|
+
type = 'dark' # String | The type of logo to add.
|
67
|
+
logo = File.new('/path/to/some/file') # File | The logo file to upload.
|
68
|
+
|
69
|
+
begin
|
70
|
+
# Add organization logo
|
71
|
+
result = api_instance.add_organization_logo(org_code, type, logo)
|
72
|
+
p result
|
73
|
+
rescue KindeApi::ApiError => e
|
74
|
+
puts "Error when calling OrganizationsApi->add_organization_logo: #{e}"
|
75
|
+
end
|
76
|
+
```
|
77
|
+
|
78
|
+
#### Using the add_organization_logo_with_http_info variant
|
79
|
+
|
80
|
+
This returns an Array which contains the response data, status code and headers.
|
81
|
+
|
82
|
+
> <Array(<SuccessResponse>, Integer, Hash)> add_organization_logo_with_http_info(org_code, type, logo)
|
83
|
+
|
84
|
+
```ruby
|
85
|
+
begin
|
86
|
+
# Add organization logo
|
87
|
+
data, status_code, headers = api_instance.add_organization_logo_with_http_info(org_code, type, logo)
|
88
|
+
p status_code # => 2xx
|
89
|
+
p headers # => { ... }
|
90
|
+
p data # => <SuccessResponse>
|
91
|
+
rescue KindeApi::ApiError => e
|
92
|
+
puts "Error when calling OrganizationsApi->add_organization_logo_with_http_info: #{e}"
|
93
|
+
end
|
94
|
+
```
|
95
|
+
|
96
|
+
### Parameters
|
97
|
+
|
98
|
+
| Name | Type | Description | Notes |
|
99
|
+
| ---- | ---- | ----------- | ----- |
|
100
|
+
| **org_code** | **String** | The organization's code. | |
|
101
|
+
| **type** | **String** | The type of logo to add. | |
|
102
|
+
| **logo** | **File** | The logo file to upload. | |
|
103
|
+
|
104
|
+
### Return type
|
105
|
+
|
106
|
+
[**SuccessResponse**](SuccessResponse.md)
|
107
|
+
|
108
|
+
### Authorization
|
109
|
+
|
110
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
111
|
+
|
112
|
+
### HTTP request headers
|
113
|
+
|
114
|
+
- **Content-Type**: multipart/form-data
|
115
|
+
- **Accept**: application/json
|
116
|
+
|
117
|
+
|
118
|
+
## add_organization_user_api_scope
|
119
|
+
|
120
|
+
> add_organization_user_api_scope(org_code, user_id, api_id, scope_id)
|
121
|
+
|
122
|
+
Add scope to organization user api
|
123
|
+
|
124
|
+
Add a scope to an organization user api. <div> <code>create:organization_user_api_scopes</code> </div>
|
125
|
+
|
126
|
+
### Examples
|
127
|
+
|
128
|
+
```ruby
|
129
|
+
require 'time'
|
130
|
+
require 'kinde_api'
|
131
|
+
# setup authorization
|
132
|
+
KindeApi.configure do |config|
|
133
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
134
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
135
|
+
end
|
136
|
+
|
137
|
+
api_instance = KindeApi::OrganizationsApi.new
|
138
|
+
org_code = 'org_code_example' # String | The identifier for the organization.
|
139
|
+
user_id = 'kp_5ce676e5d6a24bc9aac2fba35a46e958' # String | User ID
|
140
|
+
api_id = '838f208d006a482dbd8cdb79a9889f68' # String | API ID
|
141
|
+
scope_id = 'api_scope_019391daf58d87d8a7213419c016ac95' # String | Scope ID
|
142
|
+
|
143
|
+
begin
|
144
|
+
# Add scope to organization user api
|
145
|
+
api_instance.add_organization_user_api_scope(org_code, user_id, api_id, scope_id)
|
146
|
+
rescue KindeApi::ApiError => e
|
147
|
+
puts "Error when calling OrganizationsApi->add_organization_user_api_scope: #{e}"
|
148
|
+
end
|
149
|
+
```
|
150
|
+
|
151
|
+
#### Using the add_organization_user_api_scope_with_http_info variant
|
152
|
+
|
153
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
154
|
+
|
155
|
+
> <Array(nil, Integer, Hash)> add_organization_user_api_scope_with_http_info(org_code, user_id, api_id, scope_id)
|
156
|
+
|
157
|
+
```ruby
|
158
|
+
begin
|
159
|
+
# Add scope to organization user api
|
160
|
+
data, status_code, headers = api_instance.add_organization_user_api_scope_with_http_info(org_code, user_id, api_id, scope_id)
|
161
|
+
p status_code # => 2xx
|
162
|
+
p headers # => { ... }
|
163
|
+
p data # => nil
|
164
|
+
rescue KindeApi::ApiError => e
|
165
|
+
puts "Error when calling OrganizationsApi->add_organization_user_api_scope_with_http_info: #{e}"
|
166
|
+
end
|
167
|
+
```
|
168
|
+
|
169
|
+
### Parameters
|
170
|
+
|
171
|
+
| Name | Type | Description | Notes |
|
172
|
+
| ---- | ---- | ----------- | ----- |
|
173
|
+
| **org_code** | **String** | The identifier for the organization. | |
|
174
|
+
| **user_id** | **String** | User ID | |
|
175
|
+
| **api_id** | **String** | API ID | |
|
176
|
+
| **scope_id** | **String** | Scope ID | |
|
177
|
+
|
178
|
+
### Return type
|
179
|
+
|
180
|
+
nil (empty response body)
|
181
|
+
|
182
|
+
### Authorization
|
183
|
+
|
184
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
185
|
+
|
186
|
+
### HTTP request headers
|
187
|
+
|
188
|
+
- **Content-Type**: Not defined
|
189
|
+
- **Accept**: application/json
|
190
|
+
|
191
|
+
|
28
192
|
## add_organization_users
|
29
193
|
|
30
194
|
> <AddOrganizationUsersResponse> add_organization_users(org_code, opts)
|
31
195
|
|
32
196
|
Add Organization Users
|
33
197
|
|
34
|
-
Add existing users to an organization.
|
198
|
+
Add existing users to an organization. <div> <code>create:organization_users</code> </div>
|
35
199
|
|
36
200
|
### Examples
|
37
201
|
|
@@ -95,16 +259,16 @@ end
|
|
95
259
|
### HTTP request headers
|
96
260
|
|
97
261
|
- **Content-Type**: application/json
|
98
|
-
- **Accept**: application/json
|
262
|
+
- **Accept**: application/json
|
99
263
|
|
100
264
|
|
101
265
|
## create_organization
|
102
266
|
|
103
267
|
> <CreateOrganizationResponse> create_organization(create_organization_request)
|
104
268
|
|
105
|
-
Create
|
269
|
+
Create organization
|
106
270
|
|
107
|
-
Create
|
271
|
+
Create a new organization. To learn more read about [multi tenancy using organizations](https://docs.kinde.com/build/organizations/multi-tenancy-using-organizations/) <div> <code>create:organizations</code> </div>
|
108
272
|
|
109
273
|
### Examples
|
110
274
|
|
@@ -118,10 +282,10 @@ KindeApi.configure do |config|
|
|
118
282
|
end
|
119
283
|
|
120
284
|
api_instance = KindeApi::OrganizationsApi.new
|
121
|
-
create_organization_request = KindeApi::CreateOrganizationRequest.new({name: '
|
285
|
+
create_organization_request = KindeApi::CreateOrganizationRequest.new({name: 'Acme Corp'}) # CreateOrganizationRequest | Organization details.
|
122
286
|
|
123
287
|
begin
|
124
|
-
# Create
|
288
|
+
# Create organization
|
125
289
|
result = api_instance.create_organization(create_organization_request)
|
126
290
|
p result
|
127
291
|
rescue KindeApi::ApiError => e
|
@@ -137,7 +301,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
137
301
|
|
138
302
|
```ruby
|
139
303
|
begin
|
140
|
-
# Create
|
304
|
+
# Create organization
|
141
305
|
data, status_code, headers = api_instance.create_organization_with_http_info(create_organization_request)
|
142
306
|
p status_code # => 2xx
|
143
307
|
p headers # => { ... }
|
@@ -164,7 +328,7 @@ end
|
|
164
328
|
### HTTP request headers
|
165
329
|
|
166
330
|
- **Content-Type**: application/json
|
167
|
-
- **Accept**: application/json
|
331
|
+
- **Accept**: application/json
|
168
332
|
|
169
333
|
|
170
334
|
## create_organization_user_permission
|
@@ -173,7 +337,7 @@ end
|
|
173
337
|
|
174
338
|
Add Organization User Permission
|
175
339
|
|
176
|
-
Add permission to an organization user.
|
340
|
+
Add permission to an organization user. <div> <code>create:organization_user_permissions</code> </div>
|
177
341
|
|
178
342
|
### Examples
|
179
343
|
|
@@ -246,7 +410,7 @@ end
|
|
246
410
|
|
247
411
|
Add Organization User Role
|
248
412
|
|
249
|
-
Add role to an organization user.
|
413
|
+
Add role to an organization user. <div> <code>create:organization_user_roles</code> </div>
|
250
414
|
|
251
415
|
### Examples
|
252
416
|
|
@@ -315,11 +479,11 @@ end
|
|
315
479
|
|
316
480
|
## delete_organization
|
317
481
|
|
318
|
-
> delete_organization(org_code)
|
482
|
+
> <SuccessResponse> delete_organization(org_code)
|
319
483
|
|
320
484
|
Delete Organization
|
321
485
|
|
322
|
-
Delete an organization.
|
486
|
+
Delete an organization. <div> <code>delete:organizations</code> </div>
|
323
487
|
|
324
488
|
### Examples
|
325
489
|
|
@@ -337,7 +501,8 @@ org_code = 'org_code_example' # String | The identifier for the organization.
|
|
337
501
|
|
338
502
|
begin
|
339
503
|
# Delete Organization
|
340
|
-
api_instance.delete_organization(org_code)
|
504
|
+
result = api_instance.delete_organization(org_code)
|
505
|
+
p result
|
341
506
|
rescue KindeApi::ApiError => e
|
342
507
|
puts "Error when calling OrganizationsApi->delete_organization: #{e}"
|
343
508
|
end
|
@@ -345,9 +510,9 @@ end
|
|
345
510
|
|
346
511
|
#### Using the delete_organization_with_http_info variant
|
347
512
|
|
348
|
-
This returns an Array which contains the response data
|
513
|
+
This returns an Array which contains the response data, status code and headers.
|
349
514
|
|
350
|
-
> <Array(
|
515
|
+
> <Array(<SuccessResponse>, Integer, Hash)> delete_organization_with_http_info(org_code)
|
351
516
|
|
352
517
|
```ruby
|
353
518
|
begin
|
@@ -355,7 +520,7 @@ begin
|
|
355
520
|
data, status_code, headers = api_instance.delete_organization_with_http_info(org_code)
|
356
521
|
p status_code # => 2xx
|
357
522
|
p headers # => { ... }
|
358
|
-
p data # =>
|
523
|
+
p data # => <SuccessResponse>
|
359
524
|
rescue KindeApi::ApiError => e
|
360
525
|
puts "Error when calling OrganizationsApi->delete_organization_with_http_info: #{e}"
|
361
526
|
end
|
@@ -369,7 +534,7 @@ end
|
|
369
534
|
|
370
535
|
### Return type
|
371
536
|
|
372
|
-
|
537
|
+
[**SuccessResponse**](SuccessResponse.md)
|
373
538
|
|
374
539
|
### Authorization
|
375
540
|
|
@@ -378,7 +543,7 @@ nil (empty response body)
|
|
378
543
|
### HTTP request headers
|
379
544
|
|
380
545
|
- **Content-Type**: Not defined
|
381
|
-
- **Accept**: application/json
|
546
|
+
- **Accept**: application/json
|
382
547
|
|
383
548
|
|
384
549
|
## delete_organization_feature_flag_override
|
@@ -387,7 +552,7 @@ nil (empty response body)
|
|
387
552
|
|
388
553
|
Delete Organization Feature Flag Override
|
389
554
|
|
390
|
-
Delete organization feature flag override.
|
555
|
+
Delete organization feature flag override. <div> <code>delete:organization_feature_flags</code> </div>
|
391
556
|
|
392
557
|
### Examples
|
393
558
|
|
@@ -458,7 +623,7 @@ end
|
|
458
623
|
|
459
624
|
Delete Organization Feature Flag Overrides
|
460
625
|
|
461
|
-
Delete all organization feature flag overrides.
|
626
|
+
Delete all organization feature flag overrides. <div> <code>delete:organization_feature_flags</code> </div>
|
462
627
|
|
463
628
|
### Examples
|
464
629
|
|
@@ -521,13 +686,13 @@ end
|
|
521
686
|
- **Accept**: application/json, application/json; charset=utf-8
|
522
687
|
|
523
688
|
|
524
|
-
##
|
689
|
+
## delete_organization_handle
|
525
690
|
|
526
|
-
> <SuccessResponse>
|
691
|
+
> <SuccessResponse> delete_organization_handle(org_code)
|
527
692
|
|
528
|
-
Delete
|
693
|
+
Delete organization handle
|
529
694
|
|
530
|
-
Delete
|
695
|
+
Delete organization handle <div> <code>delete:organization_handles</code> </div>
|
531
696
|
|
532
697
|
### Examples
|
533
698
|
|
@@ -542,33 +707,31 @@ end
|
|
542
707
|
|
543
708
|
api_instance = KindeApi::OrganizationsApi.new
|
544
709
|
org_code = 'org_code_example' # String | The organization's code.
|
545
|
-
user_id = 'user_id_example' # String | The user's id.
|
546
|
-
permission_id = 'permission_id_example' # String | The permission id.
|
547
710
|
|
548
711
|
begin
|
549
|
-
# Delete
|
550
|
-
result = api_instance.
|
712
|
+
# Delete organization handle
|
713
|
+
result = api_instance.delete_organization_handle(org_code)
|
551
714
|
p result
|
552
715
|
rescue KindeApi::ApiError => e
|
553
|
-
puts "Error when calling OrganizationsApi->
|
716
|
+
puts "Error when calling OrganizationsApi->delete_organization_handle: #{e}"
|
554
717
|
end
|
555
718
|
```
|
556
719
|
|
557
|
-
#### Using the
|
720
|
+
#### Using the delete_organization_handle_with_http_info variant
|
558
721
|
|
559
722
|
This returns an Array which contains the response data, status code and headers.
|
560
723
|
|
561
|
-
> <Array(<SuccessResponse>, Integer, Hash)>
|
724
|
+
> <Array(<SuccessResponse>, Integer, Hash)> delete_organization_handle_with_http_info(org_code)
|
562
725
|
|
563
726
|
```ruby
|
564
727
|
begin
|
565
|
-
# Delete
|
566
|
-
data, status_code, headers = api_instance.
|
728
|
+
# Delete organization handle
|
729
|
+
data, status_code, headers = api_instance.delete_organization_handle_with_http_info(org_code)
|
567
730
|
p status_code # => 2xx
|
568
731
|
p headers # => { ... }
|
569
732
|
p data # => <SuccessResponse>
|
570
733
|
rescue KindeApi::ApiError => e
|
571
|
-
puts "Error when calling OrganizationsApi->
|
734
|
+
puts "Error when calling OrganizationsApi->delete_organization_handle_with_http_info: #{e}"
|
572
735
|
end
|
573
736
|
```
|
574
737
|
|
@@ -577,8 +740,6 @@ end
|
|
577
740
|
| Name | Type | Description | Notes |
|
578
741
|
| ---- | ---- | ----------- | ----- |
|
579
742
|
| **org_code** | **String** | The organization's code. | |
|
580
|
-
| **user_id** | **String** | The user's id. | |
|
581
|
-
| **permission_id** | **String** | The permission id. | |
|
582
743
|
|
583
744
|
### Return type
|
584
745
|
|
@@ -594,13 +755,13 @@ end
|
|
594
755
|
- **Accept**: application/json, application/json; charset=utf-8
|
595
756
|
|
596
757
|
|
597
|
-
##
|
758
|
+
## delete_organization_logo
|
598
759
|
|
599
|
-
> <SuccessResponse>
|
760
|
+
> <SuccessResponse> delete_organization_logo(org_code, type)
|
600
761
|
|
601
|
-
Delete
|
762
|
+
Delete organization logo
|
602
763
|
|
603
|
-
Delete
|
764
|
+
Delete organization logo <div> <code>update:organizations</code> </div>
|
604
765
|
|
605
766
|
### Examples
|
606
767
|
|
@@ -614,34 +775,33 @@ KindeApi.configure do |config|
|
|
614
775
|
end
|
615
776
|
|
616
777
|
api_instance = KindeApi::OrganizationsApi.new
|
617
|
-
org_code = '
|
618
|
-
|
619
|
-
role_id = 'role_id_example' # String | The role id.
|
778
|
+
org_code = 'org_1ccfb819462' # String | The organization's code.
|
779
|
+
type = 'dark' # String | The type of logo to delete.
|
620
780
|
|
621
781
|
begin
|
622
|
-
# Delete
|
623
|
-
result = api_instance.
|
782
|
+
# Delete organization logo
|
783
|
+
result = api_instance.delete_organization_logo(org_code, type)
|
624
784
|
p result
|
625
785
|
rescue KindeApi::ApiError => e
|
626
|
-
puts "Error when calling OrganizationsApi->
|
786
|
+
puts "Error when calling OrganizationsApi->delete_organization_logo: #{e}"
|
627
787
|
end
|
628
788
|
```
|
629
789
|
|
630
|
-
#### Using the
|
790
|
+
#### Using the delete_organization_logo_with_http_info variant
|
631
791
|
|
632
792
|
This returns an Array which contains the response data, status code and headers.
|
633
793
|
|
634
|
-
> <Array(<SuccessResponse>, Integer, Hash)>
|
794
|
+
> <Array(<SuccessResponse>, Integer, Hash)> delete_organization_logo_with_http_info(org_code, type)
|
635
795
|
|
636
796
|
```ruby
|
637
797
|
begin
|
638
|
-
# Delete
|
639
|
-
data, status_code, headers = api_instance.
|
798
|
+
# Delete organization logo
|
799
|
+
data, status_code, headers = api_instance.delete_organization_logo_with_http_info(org_code, type)
|
640
800
|
p status_code # => 2xx
|
641
801
|
p headers # => { ... }
|
642
802
|
p data # => <SuccessResponse>
|
643
803
|
rescue KindeApi::ApiError => e
|
644
|
-
puts "Error when calling OrganizationsApi->
|
804
|
+
puts "Error when calling OrganizationsApi->delete_organization_logo_with_http_info: #{e}"
|
645
805
|
end
|
646
806
|
```
|
647
807
|
|
@@ -650,8 +810,7 @@ end
|
|
650
810
|
| Name | Type | Description | Notes |
|
651
811
|
| ---- | ---- | ----------- | ----- |
|
652
812
|
| **org_code** | **String** | The organization's code. | |
|
653
|
-
| **
|
654
|
-
| **role_id** | **String** | The role id. | |
|
813
|
+
| **type** | **String** | The type of logo to delete. | |
|
655
814
|
|
656
815
|
### Return type
|
657
816
|
|
@@ -664,16 +823,16 @@ end
|
|
664
823
|
### HTTP request headers
|
665
824
|
|
666
825
|
- **Content-Type**: Not defined
|
667
|
-
- **Accept**: application/json
|
826
|
+
- **Accept**: application/json
|
668
827
|
|
669
828
|
|
670
|
-
##
|
829
|
+
## delete_organization_user_api_scope
|
671
830
|
|
672
|
-
>
|
831
|
+
> delete_organization_user_api_scope(org_code, user_id, api_id, scope_id)
|
673
832
|
|
674
|
-
|
833
|
+
Delete scope from organization user API
|
675
834
|
|
676
|
-
|
835
|
+
Delete a scope from an organization user api you previously created. <div> <code>delete:organization_user_api_scopes</code> </div>
|
677
836
|
|
678
837
|
### Examples
|
679
838
|
|
@@ -687,34 +846,34 @@ KindeApi.configure do |config|
|
|
687
846
|
end
|
688
847
|
|
689
848
|
api_instance = KindeApi::OrganizationsApi.new
|
690
|
-
|
691
|
-
|
692
|
-
|
849
|
+
org_code = 'org_code_example' # String | The identifier for the organization.
|
850
|
+
user_id = 'kp_5ce676e5d6a24bc9aac2fba35a46e958' # String | User ID
|
851
|
+
api_id = '838f208d006a482dbd8cdb79a9889f68' # String | API ID
|
852
|
+
scope_id = 'api_scope_019391daf58d87d8a7213419c016ac95' # String | Scope ID
|
693
853
|
|
694
854
|
begin
|
695
|
-
#
|
696
|
-
|
697
|
-
p result
|
855
|
+
# Delete scope from organization user API
|
856
|
+
api_instance.delete_organization_user_api_scope(org_code, user_id, api_id, scope_id)
|
698
857
|
rescue KindeApi::ApiError => e
|
699
|
-
puts "Error when calling OrganizationsApi->
|
858
|
+
puts "Error when calling OrganizationsApi->delete_organization_user_api_scope: #{e}"
|
700
859
|
end
|
701
860
|
```
|
702
861
|
|
703
|
-
#### Using the
|
862
|
+
#### Using the delete_organization_user_api_scope_with_http_info variant
|
704
863
|
|
705
|
-
This returns an Array which contains the response data, status code and headers.
|
864
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
706
865
|
|
707
|
-
> <Array(
|
866
|
+
> <Array(nil, Integer, Hash)> delete_organization_user_api_scope_with_http_info(org_code, user_id, api_id, scope_id)
|
708
867
|
|
709
868
|
```ruby
|
710
869
|
begin
|
711
|
-
#
|
712
|
-
data, status_code, headers = api_instance.
|
870
|
+
# Delete scope from organization user API
|
871
|
+
data, status_code, headers = api_instance.delete_organization_user_api_scope_with_http_info(org_code, user_id, api_id, scope_id)
|
713
872
|
p status_code # => 2xx
|
714
873
|
p headers # => { ... }
|
715
|
-
p data # =>
|
874
|
+
p data # => nil
|
716
875
|
rescue KindeApi::ApiError => e
|
717
|
-
puts "Error when calling OrganizationsApi->
|
876
|
+
puts "Error when calling OrganizationsApi->delete_organization_user_api_scope_with_http_info: #{e}"
|
718
877
|
end
|
719
878
|
```
|
720
879
|
|
@@ -722,11 +881,14 @@ end
|
|
722
881
|
|
723
882
|
| Name | Type | Description | Notes |
|
724
883
|
| ---- | ---- | ----------- | ----- |
|
725
|
-
| **
|
884
|
+
| **org_code** | **String** | The identifier for the organization. | |
|
885
|
+
| **user_id** | **String** | User ID | |
|
886
|
+
| **api_id** | **String** | API ID | |
|
887
|
+
| **scope_id** | **String** | Scope ID | |
|
726
888
|
|
727
889
|
### Return type
|
728
890
|
|
729
|
-
|
891
|
+
nil (empty response body)
|
730
892
|
|
731
893
|
### Authorization
|
732
894
|
|
@@ -735,16 +897,16 @@ end
|
|
735
897
|
### HTTP request headers
|
736
898
|
|
737
899
|
- **Content-Type**: Not defined
|
738
|
-
- **Accept**: application/json
|
900
|
+
- **Accept**: application/json
|
739
901
|
|
740
902
|
|
741
|
-
##
|
903
|
+
## delete_organization_user_permission
|
742
904
|
|
743
|
-
> <
|
905
|
+
> <SuccessResponse> delete_organization_user_permission(org_code, user_id, permission_id)
|
744
906
|
|
745
|
-
|
907
|
+
Delete Organization User Permission
|
746
908
|
|
747
|
-
|
909
|
+
Delete permission for an organization user. <div> <code>delete:organization_user_permissions</code> </div>
|
748
910
|
|
749
911
|
### Examples
|
750
912
|
|
@@ -758,32 +920,34 @@ KindeApi.configure do |config|
|
|
758
920
|
end
|
759
921
|
|
760
922
|
api_instance = KindeApi::OrganizationsApi.new
|
761
|
-
org_code = 'org_code_example' # String | The
|
923
|
+
org_code = 'org_code_example' # String | The organization's code.
|
924
|
+
user_id = 'user_id_example' # String | The user's id.
|
925
|
+
permission_id = 'permission_id_example' # String | The permission id.
|
762
926
|
|
763
927
|
begin
|
764
|
-
#
|
765
|
-
result = api_instance.
|
928
|
+
# Delete Organization User Permission
|
929
|
+
result = api_instance.delete_organization_user_permission(org_code, user_id, permission_id)
|
766
930
|
p result
|
767
931
|
rescue KindeApi::ApiError => e
|
768
|
-
puts "Error when calling OrganizationsApi->
|
932
|
+
puts "Error when calling OrganizationsApi->delete_organization_user_permission: #{e}"
|
769
933
|
end
|
770
934
|
```
|
771
935
|
|
772
|
-
#### Using the
|
936
|
+
#### Using the delete_organization_user_permission_with_http_info variant
|
773
937
|
|
774
938
|
This returns an Array which contains the response data, status code and headers.
|
775
939
|
|
776
|
-
> <Array(<
|
940
|
+
> <Array(<SuccessResponse>, Integer, Hash)> delete_organization_user_permission_with_http_info(org_code, user_id, permission_id)
|
777
941
|
|
778
942
|
```ruby
|
779
943
|
begin
|
780
|
-
#
|
781
|
-
data, status_code, headers = api_instance.
|
944
|
+
# Delete Organization User Permission
|
945
|
+
data, status_code, headers = api_instance.delete_organization_user_permission_with_http_info(org_code, user_id, permission_id)
|
782
946
|
p status_code # => 2xx
|
783
947
|
p headers # => { ... }
|
784
|
-
p data # => <
|
948
|
+
p data # => <SuccessResponse>
|
785
949
|
rescue KindeApi::ApiError => e
|
786
|
-
puts "Error when calling OrganizationsApi->
|
950
|
+
puts "Error when calling OrganizationsApi->delete_organization_user_permission_with_http_info: #{e}"
|
787
951
|
end
|
788
952
|
```
|
789
953
|
|
@@ -791,11 +955,13 @@ end
|
|
791
955
|
|
792
956
|
| Name | Type | Description | Notes |
|
793
957
|
| ---- | ---- | ----------- | ----- |
|
794
|
-
| **org_code** | **String** | The
|
958
|
+
| **org_code** | **String** | The organization's code. | |
|
959
|
+
| **user_id** | **String** | The user's id. | |
|
960
|
+
| **permission_id** | **String** | The permission id. | |
|
795
961
|
|
796
962
|
### Return type
|
797
963
|
|
798
|
-
[**
|
964
|
+
[**SuccessResponse**](SuccessResponse.md)
|
799
965
|
|
800
966
|
### Authorization
|
801
967
|
|
@@ -807,13 +973,13 @@ end
|
|
807
973
|
- **Accept**: application/json, application/json; charset=utf-8
|
808
974
|
|
809
975
|
|
810
|
-
##
|
976
|
+
## delete_organization_user_role
|
811
977
|
|
812
|
-
> <
|
978
|
+
> <SuccessResponse> delete_organization_user_role(org_code, user_id, role_id)
|
813
979
|
|
814
|
-
|
980
|
+
Delete Organization User Role
|
815
981
|
|
816
|
-
|
982
|
+
Delete role for an organization user. <div> <code>delete:organization_user_roles</code> </div>
|
817
983
|
|
818
984
|
### Examples
|
819
985
|
|
@@ -829,34 +995,32 @@ end
|
|
829
995
|
api_instance = KindeApi::OrganizationsApi.new
|
830
996
|
org_code = 'org_code_example' # String | The organization's code.
|
831
997
|
user_id = 'user_id_example' # String | The user's id.
|
832
|
-
|
833
|
-
expand: 'expand_example' # String | Specify additional data to retrieve. Use \"roles\".
|
834
|
-
}
|
998
|
+
role_id = 'role_id_example' # String | The role id.
|
835
999
|
|
836
1000
|
begin
|
837
|
-
#
|
838
|
-
result = api_instance.
|
1001
|
+
# Delete Organization User Role
|
1002
|
+
result = api_instance.delete_organization_user_role(org_code, user_id, role_id)
|
839
1003
|
p result
|
840
1004
|
rescue KindeApi::ApiError => e
|
841
|
-
puts "Error when calling OrganizationsApi->
|
1005
|
+
puts "Error when calling OrganizationsApi->delete_organization_user_role: #{e}"
|
842
1006
|
end
|
843
1007
|
```
|
844
1008
|
|
845
|
-
#### Using the
|
1009
|
+
#### Using the delete_organization_user_role_with_http_info variant
|
846
1010
|
|
847
1011
|
This returns an Array which contains the response data, status code and headers.
|
848
1012
|
|
849
|
-
> <Array(<
|
1013
|
+
> <Array(<SuccessResponse>, Integer, Hash)> delete_organization_user_role_with_http_info(org_code, user_id, role_id)
|
850
1014
|
|
851
1015
|
```ruby
|
852
1016
|
begin
|
853
|
-
#
|
854
|
-
data, status_code, headers = api_instance.
|
1017
|
+
# Delete Organization User Role
|
1018
|
+
data, status_code, headers = api_instance.delete_organization_user_role_with_http_info(org_code, user_id, role_id)
|
855
1019
|
p status_code # => 2xx
|
856
1020
|
p headers # => { ... }
|
857
|
-
p data # => <
|
1021
|
+
p data # => <SuccessResponse>
|
858
1022
|
rescue KindeApi::ApiError => e
|
859
|
-
puts "Error when calling OrganizationsApi->
|
1023
|
+
puts "Error when calling OrganizationsApi->delete_organization_user_role_with_http_info: #{e}"
|
860
1024
|
end
|
861
1025
|
```
|
862
1026
|
|
@@ -866,11 +1030,11 @@ end
|
|
866
1030
|
| ---- | ---- | ----------- | ----- |
|
867
1031
|
| **org_code** | **String** | The organization's code. | |
|
868
1032
|
| **user_id** | **String** | The user's id. | |
|
869
|
-
| **
|
1033
|
+
| **role_id** | **String** | The role id. | |
|
870
1034
|
|
871
1035
|
### Return type
|
872
1036
|
|
873
|
-
[**
|
1037
|
+
[**SuccessResponse**](SuccessResponse.md)
|
874
1038
|
|
875
1039
|
### Authorization
|
876
1040
|
|
@@ -882,13 +1046,13 @@ end
|
|
882
1046
|
- **Accept**: application/json, application/json; charset=utf-8
|
883
1047
|
|
884
1048
|
|
885
|
-
##
|
1049
|
+
## enable_org_connection
|
886
1050
|
|
887
|
-
>
|
1051
|
+
> enable_org_connection(organization_code, connection_id)
|
888
1052
|
|
889
|
-
|
1053
|
+
Enable connection
|
890
1054
|
|
891
|
-
|
1055
|
+
Enable an auth connection for an organization. <div> <code>create:organization_connections</code> </div>
|
892
1056
|
|
893
1057
|
### Examples
|
894
1058
|
|
@@ -902,33 +1066,32 @@ KindeApi.configure do |config|
|
|
902
1066
|
end
|
903
1067
|
|
904
1068
|
api_instance = KindeApi::OrganizationsApi.new
|
905
|
-
|
906
|
-
|
1069
|
+
organization_code = 'org_7d45b01ef13' # String | The unique code for the organization.
|
1070
|
+
connection_id = 'conn_0192c16abb53b44277e597d31877ba5b' # String | The identifier for the connection.
|
907
1071
|
|
908
1072
|
begin
|
909
|
-
#
|
910
|
-
|
911
|
-
p result
|
1073
|
+
# Enable connection
|
1074
|
+
api_instance.enable_org_connection(organization_code, connection_id)
|
912
1075
|
rescue KindeApi::ApiError => e
|
913
|
-
puts "Error when calling OrganizationsApi->
|
1076
|
+
puts "Error when calling OrganizationsApi->enable_org_connection: #{e}"
|
914
1077
|
end
|
915
1078
|
```
|
916
1079
|
|
917
|
-
#### Using the
|
1080
|
+
#### Using the enable_org_connection_with_http_info variant
|
918
1081
|
|
919
|
-
This returns an Array which contains the response data, status code and headers.
|
1082
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
920
1083
|
|
921
|
-
> <Array(
|
1084
|
+
> <Array(nil, Integer, Hash)> enable_org_connection_with_http_info(organization_code, connection_id)
|
922
1085
|
|
923
1086
|
```ruby
|
924
1087
|
begin
|
925
|
-
#
|
926
|
-
data, status_code, headers = api_instance.
|
1088
|
+
# Enable connection
|
1089
|
+
data, status_code, headers = api_instance.enable_org_connection_with_http_info(organization_code, connection_id)
|
927
1090
|
p status_code # => 2xx
|
928
1091
|
p headers # => { ... }
|
929
|
-
p data # =>
|
1092
|
+
p data # => nil
|
930
1093
|
rescue KindeApi::ApiError => e
|
931
|
-
puts "Error when calling OrganizationsApi->
|
1094
|
+
puts "Error when calling OrganizationsApi->enable_org_connection_with_http_info: #{e}"
|
932
1095
|
end
|
933
1096
|
```
|
934
1097
|
|
@@ -936,12 +1099,874 @@ end
|
|
936
1099
|
|
937
1100
|
| Name | Type | Description | Notes |
|
938
1101
|
| ---- | ---- | ----------- | ----- |
|
939
|
-
| **
|
940
|
-
| **
|
1102
|
+
| **organization_code** | **String** | The unique code for the organization. | |
|
1103
|
+
| **connection_id** | **String** | The identifier for the connection. | |
|
941
1104
|
|
942
1105
|
### Return type
|
943
1106
|
|
944
|
-
|
1107
|
+
nil (empty response body)
|
1108
|
+
|
1109
|
+
### Authorization
|
1110
|
+
|
1111
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1112
|
+
|
1113
|
+
### HTTP request headers
|
1114
|
+
|
1115
|
+
- **Content-Type**: Not defined
|
1116
|
+
- **Accept**: application/json
|
1117
|
+
|
1118
|
+
|
1119
|
+
## get_org_user_mfa
|
1120
|
+
|
1121
|
+
> <GetUserMfaResponse> get_org_user_mfa(org_code, user_id)
|
1122
|
+
|
1123
|
+
Get an organization user's MFA configuration
|
1124
|
+
|
1125
|
+
Get an organization user’s MFA configuration. <div> <code>read:organization_user_mfa</code> </div>
|
1126
|
+
|
1127
|
+
### Examples
|
1128
|
+
|
1129
|
+
```ruby
|
1130
|
+
require 'time'
|
1131
|
+
require 'kinde_api'
|
1132
|
+
# setup authorization
|
1133
|
+
KindeApi.configure do |config|
|
1134
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1135
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
api_instance = KindeApi::OrganizationsApi.new
|
1139
|
+
org_code = 'org_1ccfb819462' # String | The identifier for the organization.
|
1140
|
+
user_id = 'kp_c3143a4b50ad43c88e541d9077681782' # String | The identifier for the user
|
1141
|
+
|
1142
|
+
begin
|
1143
|
+
# Get an organization user's MFA configuration
|
1144
|
+
result = api_instance.get_org_user_mfa(org_code, user_id)
|
1145
|
+
p result
|
1146
|
+
rescue KindeApi::ApiError => e
|
1147
|
+
puts "Error when calling OrganizationsApi->get_org_user_mfa: #{e}"
|
1148
|
+
end
|
1149
|
+
```
|
1150
|
+
|
1151
|
+
#### Using the get_org_user_mfa_with_http_info variant
|
1152
|
+
|
1153
|
+
This returns an Array which contains the response data, status code and headers.
|
1154
|
+
|
1155
|
+
> <Array(<GetUserMfaResponse>, Integer, Hash)> get_org_user_mfa_with_http_info(org_code, user_id)
|
1156
|
+
|
1157
|
+
```ruby
|
1158
|
+
begin
|
1159
|
+
# Get an organization user's MFA configuration
|
1160
|
+
data, status_code, headers = api_instance.get_org_user_mfa_with_http_info(org_code, user_id)
|
1161
|
+
p status_code # => 2xx
|
1162
|
+
p headers # => { ... }
|
1163
|
+
p data # => <GetUserMfaResponse>
|
1164
|
+
rescue KindeApi::ApiError => e
|
1165
|
+
puts "Error when calling OrganizationsApi->get_org_user_mfa_with_http_info: #{e}"
|
1166
|
+
end
|
1167
|
+
```
|
1168
|
+
|
1169
|
+
### Parameters
|
1170
|
+
|
1171
|
+
| Name | Type | Description | Notes |
|
1172
|
+
| ---- | ---- | ----------- | ----- |
|
1173
|
+
| **org_code** | **String** | The identifier for the organization. | |
|
1174
|
+
| **user_id** | **String** | The identifier for the user | |
|
1175
|
+
|
1176
|
+
### Return type
|
1177
|
+
|
1178
|
+
[**GetUserMfaResponse**](GetUserMfaResponse.md)
|
1179
|
+
|
1180
|
+
### Authorization
|
1181
|
+
|
1182
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1183
|
+
|
1184
|
+
### HTTP request headers
|
1185
|
+
|
1186
|
+
- **Content-Type**: Not defined
|
1187
|
+
- **Accept**: application/json
|
1188
|
+
|
1189
|
+
|
1190
|
+
## get_organization
|
1191
|
+
|
1192
|
+
> <GetOrganizationResponse> get_organization(opts)
|
1193
|
+
|
1194
|
+
Get organization
|
1195
|
+
|
1196
|
+
Retrieve organization details by code. <div> <code>read:organizations</code> </div>
|
1197
|
+
|
1198
|
+
### Examples
|
1199
|
+
|
1200
|
+
```ruby
|
1201
|
+
require 'time'
|
1202
|
+
require 'kinde_api'
|
1203
|
+
# setup authorization
|
1204
|
+
KindeApi.configure do |config|
|
1205
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1206
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
api_instance = KindeApi::OrganizationsApi.new
|
1210
|
+
opts = {
|
1211
|
+
code: 'org_1ccfb819462' # String | The organization's code.
|
1212
|
+
}
|
1213
|
+
|
1214
|
+
begin
|
1215
|
+
# Get organization
|
1216
|
+
result = api_instance.get_organization(opts)
|
1217
|
+
p result
|
1218
|
+
rescue KindeApi::ApiError => e
|
1219
|
+
puts "Error when calling OrganizationsApi->get_organization: #{e}"
|
1220
|
+
end
|
1221
|
+
```
|
1222
|
+
|
1223
|
+
#### Using the get_organization_with_http_info variant
|
1224
|
+
|
1225
|
+
This returns an Array which contains the response data, status code and headers.
|
1226
|
+
|
1227
|
+
> <Array(<GetOrganizationResponse>, Integer, Hash)> get_organization_with_http_info(opts)
|
1228
|
+
|
1229
|
+
```ruby
|
1230
|
+
begin
|
1231
|
+
# Get organization
|
1232
|
+
data, status_code, headers = api_instance.get_organization_with_http_info(opts)
|
1233
|
+
p status_code # => 2xx
|
1234
|
+
p headers # => { ... }
|
1235
|
+
p data # => <GetOrganizationResponse>
|
1236
|
+
rescue KindeApi::ApiError => e
|
1237
|
+
puts "Error when calling OrganizationsApi->get_organization_with_http_info: #{e}"
|
1238
|
+
end
|
1239
|
+
```
|
1240
|
+
|
1241
|
+
### Parameters
|
1242
|
+
|
1243
|
+
| Name | Type | Description | Notes |
|
1244
|
+
| ---- | ---- | ----------- | ----- |
|
1245
|
+
| **code** | **String** | The organization's code. | [optional] |
|
1246
|
+
|
1247
|
+
### Return type
|
1248
|
+
|
1249
|
+
[**GetOrganizationResponse**](GetOrganizationResponse.md)
|
1250
|
+
|
1251
|
+
### Authorization
|
1252
|
+
|
1253
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1254
|
+
|
1255
|
+
### HTTP request headers
|
1256
|
+
|
1257
|
+
- **Content-Type**: Not defined
|
1258
|
+
- **Accept**: application/json
|
1259
|
+
|
1260
|
+
|
1261
|
+
## get_organization_connections
|
1262
|
+
|
1263
|
+
> <GetConnectionsResponse> get_organization_connections(organization_code)
|
1264
|
+
|
1265
|
+
Get connections
|
1266
|
+
|
1267
|
+
Gets all connections for an organization. <div> <code>read:organization_connections</code> </div>
|
1268
|
+
|
1269
|
+
### Examples
|
1270
|
+
|
1271
|
+
```ruby
|
1272
|
+
require 'time'
|
1273
|
+
require 'kinde_api'
|
1274
|
+
# setup authorization
|
1275
|
+
KindeApi.configure do |config|
|
1276
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1277
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
api_instance = KindeApi::OrganizationsApi.new
|
1281
|
+
organization_code = 'org_7d45b01ef13' # String | The organization code.
|
1282
|
+
|
1283
|
+
begin
|
1284
|
+
# Get connections
|
1285
|
+
result = api_instance.get_organization_connections(organization_code)
|
1286
|
+
p result
|
1287
|
+
rescue KindeApi::ApiError => e
|
1288
|
+
puts "Error when calling OrganizationsApi->get_organization_connections: #{e}"
|
1289
|
+
end
|
1290
|
+
```
|
1291
|
+
|
1292
|
+
#### Using the get_organization_connections_with_http_info variant
|
1293
|
+
|
1294
|
+
This returns an Array which contains the response data, status code and headers.
|
1295
|
+
|
1296
|
+
> <Array(<GetConnectionsResponse>, Integer, Hash)> get_organization_connections_with_http_info(organization_code)
|
1297
|
+
|
1298
|
+
```ruby
|
1299
|
+
begin
|
1300
|
+
# Get connections
|
1301
|
+
data, status_code, headers = api_instance.get_organization_connections_with_http_info(organization_code)
|
1302
|
+
p status_code # => 2xx
|
1303
|
+
p headers # => { ... }
|
1304
|
+
p data # => <GetConnectionsResponse>
|
1305
|
+
rescue KindeApi::ApiError => e
|
1306
|
+
puts "Error when calling OrganizationsApi->get_organization_connections_with_http_info: #{e}"
|
1307
|
+
end
|
1308
|
+
```
|
1309
|
+
|
1310
|
+
### Parameters
|
1311
|
+
|
1312
|
+
| Name | Type | Description | Notes |
|
1313
|
+
| ---- | ---- | ----------- | ----- |
|
1314
|
+
| **organization_code** | **String** | The organization code. | |
|
1315
|
+
|
1316
|
+
### Return type
|
1317
|
+
|
1318
|
+
[**GetConnectionsResponse**](GetConnectionsResponse.md)
|
1319
|
+
|
1320
|
+
### Authorization
|
1321
|
+
|
1322
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1323
|
+
|
1324
|
+
### HTTP request headers
|
1325
|
+
|
1326
|
+
- **Content-Type**: Not defined
|
1327
|
+
- **Accept**: application/json
|
1328
|
+
|
1329
|
+
|
1330
|
+
## get_organization_feature_flags
|
1331
|
+
|
1332
|
+
> <GetOrganizationFeatureFlagsResponse> get_organization_feature_flags(org_code)
|
1333
|
+
|
1334
|
+
List Organization Feature Flags
|
1335
|
+
|
1336
|
+
Get all organization feature flags. <div> <code>read:organization_feature_flags</code> </div>
|
1337
|
+
|
1338
|
+
### Examples
|
1339
|
+
|
1340
|
+
```ruby
|
1341
|
+
require 'time'
|
1342
|
+
require 'kinde_api'
|
1343
|
+
# setup authorization
|
1344
|
+
KindeApi.configure do |config|
|
1345
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1346
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
api_instance = KindeApi::OrganizationsApi.new
|
1350
|
+
org_code = 'org_code_example' # String | The identifier for the organization.
|
1351
|
+
|
1352
|
+
begin
|
1353
|
+
# List Organization Feature Flags
|
1354
|
+
result = api_instance.get_organization_feature_flags(org_code)
|
1355
|
+
p result
|
1356
|
+
rescue KindeApi::ApiError => e
|
1357
|
+
puts "Error when calling OrganizationsApi->get_organization_feature_flags: #{e}"
|
1358
|
+
end
|
1359
|
+
```
|
1360
|
+
|
1361
|
+
#### Using the get_organization_feature_flags_with_http_info variant
|
1362
|
+
|
1363
|
+
This returns an Array which contains the response data, status code and headers.
|
1364
|
+
|
1365
|
+
> <Array(<GetOrganizationFeatureFlagsResponse>, Integer, Hash)> get_organization_feature_flags_with_http_info(org_code)
|
1366
|
+
|
1367
|
+
```ruby
|
1368
|
+
begin
|
1369
|
+
# List Organization Feature Flags
|
1370
|
+
data, status_code, headers = api_instance.get_organization_feature_flags_with_http_info(org_code)
|
1371
|
+
p status_code # => 2xx
|
1372
|
+
p headers # => { ... }
|
1373
|
+
p data # => <GetOrganizationFeatureFlagsResponse>
|
1374
|
+
rescue KindeApi::ApiError => e
|
1375
|
+
puts "Error when calling OrganizationsApi->get_organization_feature_flags_with_http_info: #{e}"
|
1376
|
+
end
|
1377
|
+
```
|
1378
|
+
|
1379
|
+
### Parameters
|
1380
|
+
|
1381
|
+
| Name | Type | Description | Notes |
|
1382
|
+
| ---- | ---- | ----------- | ----- |
|
1383
|
+
| **org_code** | **String** | The identifier for the organization. | |
|
1384
|
+
|
1385
|
+
### Return type
|
1386
|
+
|
1387
|
+
[**GetOrganizationFeatureFlagsResponse**](GetOrganizationFeatureFlagsResponse.md)
|
1388
|
+
|
1389
|
+
### Authorization
|
1390
|
+
|
1391
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1392
|
+
|
1393
|
+
### HTTP request headers
|
1394
|
+
|
1395
|
+
- **Content-Type**: Not defined
|
1396
|
+
- **Accept**: application/json, application/json; charset=utf-8
|
1397
|
+
|
1398
|
+
|
1399
|
+
## get_organization_property_values
|
1400
|
+
|
1401
|
+
> <GetPropertyValuesResponse> get_organization_property_values(org_code)
|
1402
|
+
|
1403
|
+
Get Organization Property Values
|
1404
|
+
|
1405
|
+
Gets properties for an organization by org code. <div> <code>read:organization_properties</code> </div>
|
1406
|
+
|
1407
|
+
### Examples
|
1408
|
+
|
1409
|
+
```ruby
|
1410
|
+
require 'time'
|
1411
|
+
require 'kinde_api'
|
1412
|
+
# setup authorization
|
1413
|
+
KindeApi.configure do |config|
|
1414
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1415
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
api_instance = KindeApi::OrganizationsApi.new
|
1419
|
+
org_code = 'org_code_example' # String | The organization's code.
|
1420
|
+
|
1421
|
+
begin
|
1422
|
+
# Get Organization Property Values
|
1423
|
+
result = api_instance.get_organization_property_values(org_code)
|
1424
|
+
p result
|
1425
|
+
rescue KindeApi::ApiError => e
|
1426
|
+
puts "Error when calling OrganizationsApi->get_organization_property_values: #{e}"
|
1427
|
+
end
|
1428
|
+
```
|
1429
|
+
|
1430
|
+
#### Using the get_organization_property_values_with_http_info variant
|
1431
|
+
|
1432
|
+
This returns an Array which contains the response data, status code and headers.
|
1433
|
+
|
1434
|
+
> <Array(<GetPropertyValuesResponse>, Integer, Hash)> get_organization_property_values_with_http_info(org_code)
|
1435
|
+
|
1436
|
+
```ruby
|
1437
|
+
begin
|
1438
|
+
# Get Organization Property Values
|
1439
|
+
data, status_code, headers = api_instance.get_organization_property_values_with_http_info(org_code)
|
1440
|
+
p status_code # => 2xx
|
1441
|
+
p headers # => { ... }
|
1442
|
+
p data # => <GetPropertyValuesResponse>
|
1443
|
+
rescue KindeApi::ApiError => e
|
1444
|
+
puts "Error when calling OrganizationsApi->get_organization_property_values_with_http_info: #{e}"
|
1445
|
+
end
|
1446
|
+
```
|
1447
|
+
|
1448
|
+
### Parameters
|
1449
|
+
|
1450
|
+
| Name | Type | Description | Notes |
|
1451
|
+
| ---- | ---- | ----------- | ----- |
|
1452
|
+
| **org_code** | **String** | The organization's code. | |
|
1453
|
+
|
1454
|
+
### Return type
|
1455
|
+
|
1456
|
+
[**GetPropertyValuesResponse**](GetPropertyValuesResponse.md)
|
1457
|
+
|
1458
|
+
### Authorization
|
1459
|
+
|
1460
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1461
|
+
|
1462
|
+
### HTTP request headers
|
1463
|
+
|
1464
|
+
- **Content-Type**: Not defined
|
1465
|
+
- **Accept**: application/json, application/json; charset=utf-8
|
1466
|
+
|
1467
|
+
|
1468
|
+
## get_organization_user_permissions
|
1469
|
+
|
1470
|
+
> <GetOrganizationsUserPermissionsResponse> get_organization_user_permissions(org_code, user_id, opts)
|
1471
|
+
|
1472
|
+
List Organization User Permissions
|
1473
|
+
|
1474
|
+
Get permissions for an organization user. <div> <code>read:organization_user_permissions</code> </div>
|
1475
|
+
|
1476
|
+
### Examples
|
1477
|
+
|
1478
|
+
```ruby
|
1479
|
+
require 'time'
|
1480
|
+
require 'kinde_api'
|
1481
|
+
# setup authorization
|
1482
|
+
KindeApi.configure do |config|
|
1483
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1484
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1485
|
+
end
|
1486
|
+
|
1487
|
+
api_instance = KindeApi::OrganizationsApi.new
|
1488
|
+
org_code = 'org_code_example' # String | The organization's code.
|
1489
|
+
user_id = 'user_id_example' # String | The user's id.
|
1490
|
+
opts = {
|
1491
|
+
expand: 'expand_example' # String | Specify additional data to retrieve. Use \"roles\".
|
1492
|
+
}
|
1493
|
+
|
1494
|
+
begin
|
1495
|
+
# List Organization User Permissions
|
1496
|
+
result = api_instance.get_organization_user_permissions(org_code, user_id, opts)
|
1497
|
+
p result
|
1498
|
+
rescue KindeApi::ApiError => e
|
1499
|
+
puts "Error when calling OrganizationsApi->get_organization_user_permissions: #{e}"
|
1500
|
+
end
|
1501
|
+
```
|
1502
|
+
|
1503
|
+
#### Using the get_organization_user_permissions_with_http_info variant
|
1504
|
+
|
1505
|
+
This returns an Array which contains the response data, status code and headers.
|
1506
|
+
|
1507
|
+
> <Array(<GetOrganizationsUserPermissionsResponse>, Integer, Hash)> get_organization_user_permissions_with_http_info(org_code, user_id, opts)
|
1508
|
+
|
1509
|
+
```ruby
|
1510
|
+
begin
|
1511
|
+
# List Organization User Permissions
|
1512
|
+
data, status_code, headers = api_instance.get_organization_user_permissions_with_http_info(org_code, user_id, opts)
|
1513
|
+
p status_code # => 2xx
|
1514
|
+
p headers # => { ... }
|
1515
|
+
p data # => <GetOrganizationsUserPermissionsResponse>
|
1516
|
+
rescue KindeApi::ApiError => e
|
1517
|
+
puts "Error when calling OrganizationsApi->get_organization_user_permissions_with_http_info: #{e}"
|
1518
|
+
end
|
1519
|
+
```
|
1520
|
+
|
1521
|
+
### Parameters
|
1522
|
+
|
1523
|
+
| Name | Type | Description | Notes |
|
1524
|
+
| ---- | ---- | ----------- | ----- |
|
1525
|
+
| **org_code** | **String** | The organization's code. | |
|
1526
|
+
| **user_id** | **String** | The user's id. | |
|
1527
|
+
| **expand** | **String** | Specify additional data to retrieve. Use \"roles\". | [optional] |
|
1528
|
+
|
1529
|
+
### Return type
|
1530
|
+
|
1531
|
+
[**GetOrganizationsUserPermissionsResponse**](GetOrganizationsUserPermissionsResponse.md)
|
1532
|
+
|
1533
|
+
### Authorization
|
1534
|
+
|
1535
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1536
|
+
|
1537
|
+
### HTTP request headers
|
1538
|
+
|
1539
|
+
- **Content-Type**: Not defined
|
1540
|
+
- **Accept**: application/json, application/json; charset=utf-8
|
1541
|
+
|
1542
|
+
|
1543
|
+
## get_organization_user_roles
|
1544
|
+
|
1545
|
+
> <GetOrganizationsUserRolesResponse> get_organization_user_roles(org_code, user_id)
|
1546
|
+
|
1547
|
+
List Organization User Roles
|
1548
|
+
|
1549
|
+
Get roles for an organization user. <div> <code>read:organization_user_roles</code> </div>
|
1550
|
+
|
1551
|
+
### Examples
|
1552
|
+
|
1553
|
+
```ruby
|
1554
|
+
require 'time'
|
1555
|
+
require 'kinde_api'
|
1556
|
+
# setup authorization
|
1557
|
+
KindeApi.configure do |config|
|
1558
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1559
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1560
|
+
end
|
1561
|
+
|
1562
|
+
api_instance = KindeApi::OrganizationsApi.new
|
1563
|
+
org_code = 'org_code_example' # String | The organization's code.
|
1564
|
+
user_id = 'user_id_example' # String | The user's id.
|
1565
|
+
|
1566
|
+
begin
|
1567
|
+
# List Organization User Roles
|
1568
|
+
result = api_instance.get_organization_user_roles(org_code, user_id)
|
1569
|
+
p result
|
1570
|
+
rescue KindeApi::ApiError => e
|
1571
|
+
puts "Error when calling OrganizationsApi->get_organization_user_roles: #{e}"
|
1572
|
+
end
|
1573
|
+
```
|
1574
|
+
|
1575
|
+
#### Using the get_organization_user_roles_with_http_info variant
|
1576
|
+
|
1577
|
+
This returns an Array which contains the response data, status code and headers.
|
1578
|
+
|
1579
|
+
> <Array(<GetOrganizationsUserRolesResponse>, Integer, Hash)> get_organization_user_roles_with_http_info(org_code, user_id)
|
1580
|
+
|
1581
|
+
```ruby
|
1582
|
+
begin
|
1583
|
+
# List Organization User Roles
|
1584
|
+
data, status_code, headers = api_instance.get_organization_user_roles_with_http_info(org_code, user_id)
|
1585
|
+
p status_code # => 2xx
|
1586
|
+
p headers # => { ... }
|
1587
|
+
p data # => <GetOrganizationsUserRolesResponse>
|
1588
|
+
rescue KindeApi::ApiError => e
|
1589
|
+
puts "Error when calling OrganizationsApi->get_organization_user_roles_with_http_info: #{e}"
|
1590
|
+
end
|
1591
|
+
```
|
1592
|
+
|
1593
|
+
### Parameters
|
1594
|
+
|
1595
|
+
| Name | Type | Description | Notes |
|
1596
|
+
| ---- | ---- | ----------- | ----- |
|
1597
|
+
| **org_code** | **String** | The organization's code. | |
|
1598
|
+
| **user_id** | **String** | The user's id. | |
|
1599
|
+
|
1600
|
+
### Return type
|
1601
|
+
|
1602
|
+
[**GetOrganizationsUserRolesResponse**](GetOrganizationsUserRolesResponse.md)
|
1603
|
+
|
1604
|
+
### Authorization
|
1605
|
+
|
1606
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1607
|
+
|
1608
|
+
### HTTP request headers
|
1609
|
+
|
1610
|
+
- **Content-Type**: Not defined
|
1611
|
+
- **Accept**: application/json, application/json; charset=utf-8
|
1612
|
+
|
1613
|
+
|
1614
|
+
## get_organization_users
|
1615
|
+
|
1616
|
+
> <GetOrganizationUsersResponse> get_organization_users(org_code, opts)
|
1617
|
+
|
1618
|
+
Get organization users
|
1619
|
+
|
1620
|
+
Get user details for all members of an organization. <div> <code>read:organization_users</code> </div>
|
1621
|
+
|
1622
|
+
### Examples
|
1623
|
+
|
1624
|
+
```ruby
|
1625
|
+
require 'time'
|
1626
|
+
require 'kinde_api'
|
1627
|
+
# setup authorization
|
1628
|
+
KindeApi.configure do |config|
|
1629
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1630
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
api_instance = KindeApi::OrganizationsApi.new
|
1634
|
+
org_code = 'org_1ccfb819462' # String | The organization's code.
|
1635
|
+
opts = {
|
1636
|
+
sort: 'name_asc', # String | Field and order to sort the result by.
|
1637
|
+
page_size: 10, # Integer | Number of results per page. Defaults to 10 if parameter not sent.
|
1638
|
+
next_token: 'MTo6OmlkX2FzYw==', # String | A string to get the next page of results if there are more results.
|
1639
|
+
permissions: 'admin', # String | Filter by user permissions comma separated (where all match)
|
1640
|
+
roles: 'manager' # String | Filter by user roles comma separated (where all match)
|
1641
|
+
}
|
1642
|
+
|
1643
|
+
begin
|
1644
|
+
# Get organization users
|
1645
|
+
result = api_instance.get_organization_users(org_code, opts)
|
1646
|
+
p result
|
1647
|
+
rescue KindeApi::ApiError => e
|
1648
|
+
puts "Error when calling OrganizationsApi->get_organization_users: #{e}"
|
1649
|
+
end
|
1650
|
+
```
|
1651
|
+
|
1652
|
+
#### Using the get_organization_users_with_http_info variant
|
1653
|
+
|
1654
|
+
This returns an Array which contains the response data, status code and headers.
|
1655
|
+
|
1656
|
+
> <Array(<GetOrganizationUsersResponse>, Integer, Hash)> get_organization_users_with_http_info(org_code, opts)
|
1657
|
+
|
1658
|
+
```ruby
|
1659
|
+
begin
|
1660
|
+
# Get organization users
|
1661
|
+
data, status_code, headers = api_instance.get_organization_users_with_http_info(org_code, opts)
|
1662
|
+
p status_code # => 2xx
|
1663
|
+
p headers # => { ... }
|
1664
|
+
p data # => <GetOrganizationUsersResponse>
|
1665
|
+
rescue KindeApi::ApiError => e
|
1666
|
+
puts "Error when calling OrganizationsApi->get_organization_users_with_http_info: #{e}"
|
1667
|
+
end
|
1668
|
+
```
|
1669
|
+
|
1670
|
+
### Parameters
|
1671
|
+
|
1672
|
+
| Name | Type | Description | Notes |
|
1673
|
+
| ---- | ---- | ----------- | ----- |
|
1674
|
+
| **org_code** | **String** | The organization's code. | |
|
1675
|
+
| **sort** | **String** | Field and order to sort the result by. | [optional] |
|
1676
|
+
| **page_size** | **Integer** | Number of results per page. Defaults to 10 if parameter not sent. | [optional] |
|
1677
|
+
| **next_token** | **String** | A string to get the next page of results if there are more results. | [optional] |
|
1678
|
+
| **permissions** | **String** | Filter by user permissions comma separated (where all match) | [optional] |
|
1679
|
+
| **roles** | **String** | Filter by user roles comma separated (where all match) | [optional] |
|
1680
|
+
|
1681
|
+
### Return type
|
1682
|
+
|
1683
|
+
[**GetOrganizationUsersResponse**](GetOrganizationUsersResponse.md)
|
1684
|
+
|
1685
|
+
### Authorization
|
1686
|
+
|
1687
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1688
|
+
|
1689
|
+
### HTTP request headers
|
1690
|
+
|
1691
|
+
- **Content-Type**: Not defined
|
1692
|
+
- **Accept**: application/json
|
1693
|
+
|
1694
|
+
|
1695
|
+
## get_organizations
|
1696
|
+
|
1697
|
+
> <GetOrganizationsResponse> get_organizations(opts)
|
1698
|
+
|
1699
|
+
Get organizations
|
1700
|
+
|
1701
|
+
Get a list of organizations. <div> <code>read:organizations</code> </div>
|
1702
|
+
|
1703
|
+
### Examples
|
1704
|
+
|
1705
|
+
```ruby
|
1706
|
+
require 'time'
|
1707
|
+
require 'kinde_api'
|
1708
|
+
# setup authorization
|
1709
|
+
KindeApi.configure do |config|
|
1710
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1711
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1712
|
+
end
|
1713
|
+
|
1714
|
+
api_instance = KindeApi::OrganizationsApi.new
|
1715
|
+
opts = {
|
1716
|
+
sort: 'name_asc', # String | Field and order to sort the result by.
|
1717
|
+
page_size: 56, # Integer | Number of results per page. Defaults to 10 if parameter not sent.
|
1718
|
+
next_token: 'next_token_example' # String | A string to get the next page of results if there are more results.
|
1719
|
+
}
|
1720
|
+
|
1721
|
+
begin
|
1722
|
+
# Get organizations
|
1723
|
+
result = api_instance.get_organizations(opts)
|
1724
|
+
p result
|
1725
|
+
rescue KindeApi::ApiError => e
|
1726
|
+
puts "Error when calling OrganizationsApi->get_organizations: #{e}"
|
1727
|
+
end
|
1728
|
+
```
|
1729
|
+
|
1730
|
+
#### Using the get_organizations_with_http_info variant
|
1731
|
+
|
1732
|
+
This returns an Array which contains the response data, status code and headers.
|
1733
|
+
|
1734
|
+
> <Array(<GetOrganizationsResponse>, Integer, Hash)> get_organizations_with_http_info(opts)
|
1735
|
+
|
1736
|
+
```ruby
|
1737
|
+
begin
|
1738
|
+
# Get organizations
|
1739
|
+
data, status_code, headers = api_instance.get_organizations_with_http_info(opts)
|
1740
|
+
p status_code # => 2xx
|
1741
|
+
p headers # => { ... }
|
1742
|
+
p data # => <GetOrganizationsResponse>
|
1743
|
+
rescue KindeApi::ApiError => e
|
1744
|
+
puts "Error when calling OrganizationsApi->get_organizations_with_http_info: #{e}"
|
1745
|
+
end
|
1746
|
+
```
|
1747
|
+
|
1748
|
+
### Parameters
|
1749
|
+
|
1750
|
+
| Name | Type | Description | Notes |
|
1751
|
+
| ---- | ---- | ----------- | ----- |
|
1752
|
+
| **sort** | **String** | Field and order to sort the result by. | [optional] |
|
1753
|
+
| **page_size** | **Integer** | Number of results per page. Defaults to 10 if parameter not sent. | [optional] |
|
1754
|
+
| **next_token** | **String** | A string to get the next page of results if there are more results. | [optional] |
|
1755
|
+
|
1756
|
+
### Return type
|
1757
|
+
|
1758
|
+
[**GetOrganizationsResponse**](GetOrganizationsResponse.md)
|
1759
|
+
|
1760
|
+
### Authorization
|
1761
|
+
|
1762
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1763
|
+
|
1764
|
+
### HTTP request headers
|
1765
|
+
|
1766
|
+
- **Content-Type**: Not defined
|
1767
|
+
- **Accept**: application/json
|
1768
|
+
|
1769
|
+
|
1770
|
+
## read_organization_logo
|
1771
|
+
|
1772
|
+
> <ReadLogoResponse> read_organization_logo(org_code)
|
1773
|
+
|
1774
|
+
Read organization logo details
|
1775
|
+
|
1776
|
+
Read organization logo details <div> <code>read:organizations</code> </div>
|
1777
|
+
|
1778
|
+
### Examples
|
1779
|
+
|
1780
|
+
```ruby
|
1781
|
+
require 'time'
|
1782
|
+
require 'kinde_api'
|
1783
|
+
# setup authorization
|
1784
|
+
KindeApi.configure do |config|
|
1785
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1786
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1787
|
+
end
|
1788
|
+
|
1789
|
+
api_instance = KindeApi::OrganizationsApi.new
|
1790
|
+
org_code = 'org_1ccfb819462' # String | The organization's code.
|
1791
|
+
|
1792
|
+
begin
|
1793
|
+
# Read organization logo details
|
1794
|
+
result = api_instance.read_organization_logo(org_code)
|
1795
|
+
p result
|
1796
|
+
rescue KindeApi::ApiError => e
|
1797
|
+
puts "Error when calling OrganizationsApi->read_organization_logo: #{e}"
|
1798
|
+
end
|
1799
|
+
```
|
1800
|
+
|
1801
|
+
#### Using the read_organization_logo_with_http_info variant
|
1802
|
+
|
1803
|
+
This returns an Array which contains the response data, status code and headers.
|
1804
|
+
|
1805
|
+
> <Array(<ReadLogoResponse>, Integer, Hash)> read_organization_logo_with_http_info(org_code)
|
1806
|
+
|
1807
|
+
```ruby
|
1808
|
+
begin
|
1809
|
+
# Read organization logo details
|
1810
|
+
data, status_code, headers = api_instance.read_organization_logo_with_http_info(org_code)
|
1811
|
+
p status_code # => 2xx
|
1812
|
+
p headers # => { ... }
|
1813
|
+
p data # => <ReadLogoResponse>
|
1814
|
+
rescue KindeApi::ApiError => e
|
1815
|
+
puts "Error when calling OrganizationsApi->read_organization_logo_with_http_info: #{e}"
|
1816
|
+
end
|
1817
|
+
```
|
1818
|
+
|
1819
|
+
### Parameters
|
1820
|
+
|
1821
|
+
| Name | Type | Description | Notes |
|
1822
|
+
| ---- | ---- | ----------- | ----- |
|
1823
|
+
| **org_code** | **String** | The organization's code. | |
|
1824
|
+
|
1825
|
+
### Return type
|
1826
|
+
|
1827
|
+
[**ReadLogoResponse**](ReadLogoResponse.md)
|
1828
|
+
|
1829
|
+
### Authorization
|
1830
|
+
|
1831
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1832
|
+
|
1833
|
+
### HTTP request headers
|
1834
|
+
|
1835
|
+
- **Content-Type**: Not defined
|
1836
|
+
- **Accept**: application/json
|
1837
|
+
|
1838
|
+
|
1839
|
+
## remove_org_connection
|
1840
|
+
|
1841
|
+
> <SuccessResponse> remove_org_connection(organization_code, connection_id)
|
1842
|
+
|
1843
|
+
Remove connection
|
1844
|
+
|
1845
|
+
Turn off an auth connection for an organization <div> <code>delete:organization_connections</code> </div>
|
1846
|
+
|
1847
|
+
### Examples
|
1848
|
+
|
1849
|
+
```ruby
|
1850
|
+
require 'time'
|
1851
|
+
require 'kinde_api'
|
1852
|
+
# setup authorization
|
1853
|
+
KindeApi.configure do |config|
|
1854
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1855
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
api_instance = KindeApi::OrganizationsApi.new
|
1859
|
+
organization_code = 'org_7d45b01ef13' # String | The unique code for the organization.
|
1860
|
+
connection_id = 'conn_0192c16abb53b44277e597d31877ba5b' # String | The identifier for the connection.
|
1861
|
+
|
1862
|
+
begin
|
1863
|
+
# Remove connection
|
1864
|
+
result = api_instance.remove_org_connection(organization_code, connection_id)
|
1865
|
+
p result
|
1866
|
+
rescue KindeApi::ApiError => e
|
1867
|
+
puts "Error when calling OrganizationsApi->remove_org_connection: #{e}"
|
1868
|
+
end
|
1869
|
+
```
|
1870
|
+
|
1871
|
+
#### Using the remove_org_connection_with_http_info variant
|
1872
|
+
|
1873
|
+
This returns an Array which contains the response data, status code and headers.
|
1874
|
+
|
1875
|
+
> <Array(<SuccessResponse>, Integer, Hash)> remove_org_connection_with_http_info(organization_code, connection_id)
|
1876
|
+
|
1877
|
+
```ruby
|
1878
|
+
begin
|
1879
|
+
# Remove connection
|
1880
|
+
data, status_code, headers = api_instance.remove_org_connection_with_http_info(organization_code, connection_id)
|
1881
|
+
p status_code # => 2xx
|
1882
|
+
p headers # => { ... }
|
1883
|
+
p data # => <SuccessResponse>
|
1884
|
+
rescue KindeApi::ApiError => e
|
1885
|
+
puts "Error when calling OrganizationsApi->remove_org_connection_with_http_info: #{e}"
|
1886
|
+
end
|
1887
|
+
```
|
1888
|
+
|
1889
|
+
### Parameters
|
1890
|
+
|
1891
|
+
| Name | Type | Description | Notes |
|
1892
|
+
| ---- | ---- | ----------- | ----- |
|
1893
|
+
| **organization_code** | **String** | The unique code for the organization. | |
|
1894
|
+
| **connection_id** | **String** | The identifier for the connection. | |
|
1895
|
+
|
1896
|
+
### Return type
|
1897
|
+
|
1898
|
+
[**SuccessResponse**](SuccessResponse.md)
|
1899
|
+
|
1900
|
+
### Authorization
|
1901
|
+
|
1902
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
1903
|
+
|
1904
|
+
### HTTP request headers
|
1905
|
+
|
1906
|
+
- **Content-Type**: Not defined
|
1907
|
+
- **Accept**: application/json
|
1908
|
+
|
1909
|
+
|
1910
|
+
## remove_organization_user
|
1911
|
+
|
1912
|
+
> <SuccessResponse> remove_organization_user(org_code, user_id)
|
1913
|
+
|
1914
|
+
Remove Organization User
|
1915
|
+
|
1916
|
+
Remove user from an organization. <div> <code>delete:organization_users</code> </div>
|
1917
|
+
|
1918
|
+
### Examples
|
1919
|
+
|
1920
|
+
```ruby
|
1921
|
+
require 'time'
|
1922
|
+
require 'kinde_api'
|
1923
|
+
# setup authorization
|
1924
|
+
KindeApi.configure do |config|
|
1925
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
1926
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
1927
|
+
end
|
1928
|
+
|
1929
|
+
api_instance = KindeApi::OrganizationsApi.new
|
1930
|
+
org_code = 'org_code_example' # String | The organization's code.
|
1931
|
+
user_id = 'user_id_example' # String | The user's id.
|
1932
|
+
|
1933
|
+
begin
|
1934
|
+
# Remove Organization User
|
1935
|
+
result = api_instance.remove_organization_user(org_code, user_id)
|
1936
|
+
p result
|
1937
|
+
rescue KindeApi::ApiError => e
|
1938
|
+
puts "Error when calling OrganizationsApi->remove_organization_user: #{e}"
|
1939
|
+
end
|
1940
|
+
```
|
1941
|
+
|
1942
|
+
#### Using the remove_organization_user_with_http_info variant
|
1943
|
+
|
1944
|
+
This returns an Array which contains the response data, status code and headers.
|
1945
|
+
|
1946
|
+
> <Array(<SuccessResponse>, Integer, Hash)> remove_organization_user_with_http_info(org_code, user_id)
|
1947
|
+
|
1948
|
+
```ruby
|
1949
|
+
begin
|
1950
|
+
# Remove Organization User
|
1951
|
+
data, status_code, headers = api_instance.remove_organization_user_with_http_info(org_code, user_id)
|
1952
|
+
p status_code # => 2xx
|
1953
|
+
p headers # => { ... }
|
1954
|
+
p data # => <SuccessResponse>
|
1955
|
+
rescue KindeApi::ApiError => e
|
1956
|
+
puts "Error when calling OrganizationsApi->remove_organization_user_with_http_info: #{e}"
|
1957
|
+
end
|
1958
|
+
```
|
1959
|
+
|
1960
|
+
### Parameters
|
1961
|
+
|
1962
|
+
| Name | Type | Description | Notes |
|
1963
|
+
| ---- | ---- | ----------- | ----- |
|
1964
|
+
| **org_code** | **String** | The organization's code. | |
|
1965
|
+
| **user_id** | **String** | The user's id. | |
|
1966
|
+
|
1967
|
+
### Return type
|
1968
|
+
|
1969
|
+
[**SuccessResponse**](SuccessResponse.md)
|
945
1970
|
|
946
1971
|
### Authorization
|
947
1972
|
|
@@ -953,13 +1978,13 @@ end
|
|
953
1978
|
- **Accept**: application/json, application/json; charset=utf-8
|
954
1979
|
|
955
1980
|
|
956
|
-
##
|
1981
|
+
## replace_organization_mfa
|
957
1982
|
|
958
|
-
> <
|
1983
|
+
> <SuccessResponse> replace_organization_mfa(org_code, replace_organization_mfa_request)
|
959
1984
|
|
960
|
-
|
1985
|
+
Replace Organization MFA Configuration
|
961
1986
|
|
962
|
-
|
1987
|
+
Replace Organization MFA Configuration. <div> <code>update:organization_mfa</code> </div>
|
963
1988
|
|
964
1989
|
### Examples
|
965
1990
|
|
@@ -973,39 +1998,33 @@ KindeApi.configure do |config|
|
|
973
1998
|
end
|
974
1999
|
|
975
2000
|
api_instance = KindeApi::OrganizationsApi.new
|
976
|
-
org_code = 'org_code_example' # String | The organization
|
977
|
-
|
978
|
-
sort: 'name_asc', # String | Field and order to sort the result by.
|
979
|
-
page_size: 56, # Integer | Number of results per page. Defaults to 10 if parameter not sent.
|
980
|
-
next_token: 'next_token_example', # String | A string to get the next page of results if there are more results.
|
981
|
-
permissions: 'permissions_example', # String | Filter by user permissions comma separated (where all match)
|
982
|
-
roles: 'roles_example' # String | Filter by user roles comma separated (where all match)
|
983
|
-
}
|
2001
|
+
org_code = 'org_code_example' # String | The identifier for the organization
|
2002
|
+
replace_organization_mfa_request = KindeApi::ReplaceOrganizationMFARequest.new({enabled_factors: ['mfa:email']}) # ReplaceOrganizationMFARequest | MFA details.
|
984
2003
|
|
985
2004
|
begin
|
986
|
-
#
|
987
|
-
result = api_instance.
|
2005
|
+
# Replace Organization MFA Configuration
|
2006
|
+
result = api_instance.replace_organization_mfa(org_code, replace_organization_mfa_request)
|
988
2007
|
p result
|
989
2008
|
rescue KindeApi::ApiError => e
|
990
|
-
puts "Error when calling OrganizationsApi->
|
2009
|
+
puts "Error when calling OrganizationsApi->replace_organization_mfa: #{e}"
|
991
2010
|
end
|
992
2011
|
```
|
993
2012
|
|
994
|
-
#### Using the
|
2013
|
+
#### Using the replace_organization_mfa_with_http_info variant
|
995
2014
|
|
996
2015
|
This returns an Array which contains the response data, status code and headers.
|
997
2016
|
|
998
|
-
> <Array(<
|
2017
|
+
> <Array(<SuccessResponse>, Integer, Hash)> replace_organization_mfa_with_http_info(org_code, replace_organization_mfa_request)
|
999
2018
|
|
1000
2019
|
```ruby
|
1001
2020
|
begin
|
1002
|
-
#
|
1003
|
-
data, status_code, headers = api_instance.
|
2021
|
+
# Replace Organization MFA Configuration
|
2022
|
+
data, status_code, headers = api_instance.replace_organization_mfa_with_http_info(org_code, replace_organization_mfa_request)
|
1004
2023
|
p status_code # => 2xx
|
1005
2024
|
p headers # => { ... }
|
1006
|
-
p data # => <
|
2025
|
+
p data # => <SuccessResponse>
|
1007
2026
|
rescue KindeApi::ApiError => e
|
1008
|
-
puts "Error when calling OrganizationsApi->
|
2027
|
+
puts "Error when calling OrganizationsApi->replace_organization_mfa_with_http_info: #{e}"
|
1009
2028
|
end
|
1010
2029
|
```
|
1011
2030
|
|
@@ -1013,16 +2032,12 @@ end
|
|
1013
2032
|
|
1014
2033
|
| Name | Type | Description | Notes |
|
1015
2034
|
| ---- | ---- | ----------- | ----- |
|
1016
|
-
| **org_code** | **String** | The organization
|
1017
|
-
| **
|
1018
|
-
| **page_size** | **Integer** | Number of results per page. Defaults to 10 if parameter not sent. | [optional] |
|
1019
|
-
| **next_token** | **String** | A string to get the next page of results if there are more results. | [optional] |
|
1020
|
-
| **permissions** | **String** | Filter by user permissions comma separated (where all match) | [optional] |
|
1021
|
-
| **roles** | **String** | Filter by user roles comma separated (where all match) | [optional] |
|
2035
|
+
| **org_code** | **String** | The identifier for the organization | |
|
2036
|
+
| **replace_organization_mfa_request** | [**ReplaceOrganizationMFARequest**](ReplaceOrganizationMFARequest.md) | MFA details. | |
|
1022
2037
|
|
1023
2038
|
### Return type
|
1024
2039
|
|
1025
|
-
[**
|
2040
|
+
[**SuccessResponse**](SuccessResponse.md)
|
1026
2041
|
|
1027
2042
|
### Authorization
|
1028
2043
|
|
@@ -1030,17 +2045,17 @@ end
|
|
1030
2045
|
|
1031
2046
|
### HTTP request headers
|
1032
2047
|
|
1033
|
-
- **Content-Type**:
|
1034
|
-
- **Accept**: application/json
|
2048
|
+
- **Content-Type**: application/json
|
2049
|
+
- **Accept**: application/json
|
1035
2050
|
|
1036
2051
|
|
1037
|
-
##
|
2052
|
+
## reset_org_user_mfa
|
1038
2053
|
|
1039
|
-
> <
|
2054
|
+
> <SuccessResponse> reset_org_user_mfa(org_code, user_id, factor_id)
|
1040
2055
|
|
1041
|
-
|
2056
|
+
Reset specific organization MFA for a user
|
1042
2057
|
|
1043
|
-
|
2058
|
+
Reset a specific organization MFA factor for a user. <div> <code>delete:organization_user_mfa</code> </div>
|
1044
2059
|
|
1045
2060
|
### Examples
|
1046
2061
|
|
@@ -1054,36 +2069,34 @@ KindeApi.configure do |config|
|
|
1054
2069
|
end
|
1055
2070
|
|
1056
2071
|
api_instance = KindeApi::OrganizationsApi.new
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
next_token: 'next_token_example' # String | A string to get the next page of results if there are more results.
|
1061
|
-
}
|
2072
|
+
org_code = 'org_1ccfb819462' # String | The identifier for the organization.
|
2073
|
+
user_id = 'kp_c3143a4b50ad43c88e541d9077681782' # String | The identifier for the user
|
2074
|
+
factor_id = 'mfa_0193278a00ac29b3f6d4e4d462d55c47' # String | The identifier for the MFA factor
|
1062
2075
|
|
1063
2076
|
begin
|
1064
|
-
#
|
1065
|
-
result = api_instance.
|
2077
|
+
# Reset specific organization MFA for a user
|
2078
|
+
result = api_instance.reset_org_user_mfa(org_code, user_id, factor_id)
|
1066
2079
|
p result
|
1067
2080
|
rescue KindeApi::ApiError => e
|
1068
|
-
puts "Error when calling OrganizationsApi->
|
2081
|
+
puts "Error when calling OrganizationsApi->reset_org_user_mfa: #{e}"
|
1069
2082
|
end
|
1070
2083
|
```
|
1071
2084
|
|
1072
|
-
#### Using the
|
2085
|
+
#### Using the reset_org_user_mfa_with_http_info variant
|
1073
2086
|
|
1074
2087
|
This returns an Array which contains the response data, status code and headers.
|
1075
2088
|
|
1076
|
-
> <Array(<
|
2089
|
+
> <Array(<SuccessResponse>, Integer, Hash)> reset_org_user_mfa_with_http_info(org_code, user_id, factor_id)
|
1077
2090
|
|
1078
2091
|
```ruby
|
1079
2092
|
begin
|
1080
|
-
#
|
1081
|
-
data, status_code, headers = api_instance.
|
2093
|
+
# Reset specific organization MFA for a user
|
2094
|
+
data, status_code, headers = api_instance.reset_org_user_mfa_with_http_info(org_code, user_id, factor_id)
|
1082
2095
|
p status_code # => 2xx
|
1083
2096
|
p headers # => { ... }
|
1084
|
-
p data # => <
|
2097
|
+
p data # => <SuccessResponse>
|
1085
2098
|
rescue KindeApi::ApiError => e
|
1086
|
-
puts "Error when calling OrganizationsApi->
|
2099
|
+
puts "Error when calling OrganizationsApi->reset_org_user_mfa_with_http_info: #{e}"
|
1087
2100
|
end
|
1088
2101
|
```
|
1089
2102
|
|
@@ -1091,13 +2104,13 @@ end
|
|
1091
2104
|
|
1092
2105
|
| Name | Type | Description | Notes |
|
1093
2106
|
| ---- | ---- | ----------- | ----- |
|
1094
|
-
| **
|
1095
|
-
| **
|
1096
|
-
| **
|
2107
|
+
| **org_code** | **String** | The identifier for the organization. | |
|
2108
|
+
| **user_id** | **String** | The identifier for the user | |
|
2109
|
+
| **factor_id** | **String** | The identifier for the MFA factor | |
|
1097
2110
|
|
1098
2111
|
### Return type
|
1099
2112
|
|
1100
|
-
[**
|
2113
|
+
[**SuccessResponse**](SuccessResponse.md)
|
1101
2114
|
|
1102
2115
|
### Authorization
|
1103
2116
|
|
@@ -1106,16 +2119,16 @@ end
|
|
1106
2119
|
### HTTP request headers
|
1107
2120
|
|
1108
2121
|
- **Content-Type**: Not defined
|
1109
|
-
- **Accept**: application/json
|
2122
|
+
- **Accept**: application/json
|
1110
2123
|
|
1111
2124
|
|
1112
|
-
##
|
2125
|
+
## reset_org_user_mfa_all
|
1113
2126
|
|
1114
|
-
> <SuccessResponse>
|
2127
|
+
> <SuccessResponse> reset_org_user_mfa_all(org_code, user_id)
|
1115
2128
|
|
1116
|
-
|
2129
|
+
Reset all organization MFA for a user
|
1117
2130
|
|
1118
|
-
|
2131
|
+
Reset all organization MFA factors for a user. <div> <code>delete:organization_user_mfa</code> </div>
|
1119
2132
|
|
1120
2133
|
### Examples
|
1121
2134
|
|
@@ -1129,33 +2142,33 @@ KindeApi.configure do |config|
|
|
1129
2142
|
end
|
1130
2143
|
|
1131
2144
|
api_instance = KindeApi::OrganizationsApi.new
|
1132
|
-
org_code = '
|
1133
|
-
user_id = '
|
2145
|
+
org_code = 'org_1ccfb819462' # String | The identifier for the organization.
|
2146
|
+
user_id = 'kp_c3143a4b50ad43c88e541d9077681782' # String | The identifier for the user
|
1134
2147
|
|
1135
2148
|
begin
|
1136
|
-
#
|
1137
|
-
result = api_instance.
|
2149
|
+
# Reset all organization MFA for a user
|
2150
|
+
result = api_instance.reset_org_user_mfa_all(org_code, user_id)
|
1138
2151
|
p result
|
1139
2152
|
rescue KindeApi::ApiError => e
|
1140
|
-
puts "Error when calling OrganizationsApi->
|
2153
|
+
puts "Error when calling OrganizationsApi->reset_org_user_mfa_all: #{e}"
|
1141
2154
|
end
|
1142
2155
|
```
|
1143
2156
|
|
1144
|
-
#### Using the
|
2157
|
+
#### Using the reset_org_user_mfa_all_with_http_info variant
|
1145
2158
|
|
1146
2159
|
This returns an Array which contains the response data, status code and headers.
|
1147
2160
|
|
1148
|
-
> <Array(<SuccessResponse>, Integer, Hash)>
|
2161
|
+
> <Array(<SuccessResponse>, Integer, Hash)> reset_org_user_mfa_all_with_http_info(org_code, user_id)
|
1149
2162
|
|
1150
2163
|
```ruby
|
1151
2164
|
begin
|
1152
|
-
#
|
1153
|
-
data, status_code, headers = api_instance.
|
2165
|
+
# Reset all organization MFA for a user
|
2166
|
+
data, status_code, headers = api_instance.reset_org_user_mfa_all_with_http_info(org_code, user_id)
|
1154
2167
|
p status_code # => 2xx
|
1155
2168
|
p headers # => { ... }
|
1156
2169
|
p data # => <SuccessResponse>
|
1157
2170
|
rescue KindeApi::ApiError => e
|
1158
|
-
puts "Error when calling OrganizationsApi->
|
2171
|
+
puts "Error when calling OrganizationsApi->reset_org_user_mfa_all_with_http_info: #{e}"
|
1159
2172
|
end
|
1160
2173
|
```
|
1161
2174
|
|
@@ -1163,8 +2176,8 @@ end
|
|
1163
2176
|
|
1164
2177
|
| Name | Type | Description | Notes |
|
1165
2178
|
| ---- | ---- | ----------- | ----- |
|
1166
|
-
| **org_code** | **String** | The organization
|
1167
|
-
| **user_id** | **String** | The user
|
2179
|
+
| **org_code** | **String** | The identifier for the organization. | |
|
2180
|
+
| **user_id** | **String** | The identifier for the user | |
|
1168
2181
|
|
1169
2182
|
### Return type
|
1170
2183
|
|
@@ -1177,7 +2190,7 @@ end
|
|
1177
2190
|
### HTTP request headers
|
1178
2191
|
|
1179
2192
|
- **Content-Type**: Not defined
|
1180
|
-
- **Accept**: application/json
|
2193
|
+
- **Accept**: application/json
|
1181
2194
|
|
1182
2195
|
|
1183
2196
|
## update_organization
|
@@ -1186,7 +2199,7 @@ end
|
|
1186
2199
|
|
1187
2200
|
Update Organization
|
1188
2201
|
|
1189
|
-
Update an organization.
|
2202
|
+
Update an organization. <div> <code>update:organizations</code> </div>
|
1190
2203
|
|
1191
2204
|
### Examples
|
1192
2205
|
|
@@ -1200,8 +2213,9 @@ KindeApi.configure do |config|
|
|
1200
2213
|
end
|
1201
2214
|
|
1202
2215
|
api_instance = KindeApi::OrganizationsApi.new
|
1203
|
-
org_code = '
|
2216
|
+
org_code = 'org_1ccfb819462' # String | The identifier for the organization.
|
1204
2217
|
opts = {
|
2218
|
+
expand: 'billing', # String | Specify additional data to retrieve. Use \"billing\".
|
1205
2219
|
update_organization_request: KindeApi::UpdateOrganizationRequest.new # UpdateOrganizationRequest | Organization details.
|
1206
2220
|
}
|
1207
2221
|
|
@@ -1237,6 +2251,7 @@ end
|
|
1237
2251
|
| Name | Type | Description | Notes |
|
1238
2252
|
| ---- | ---- | ----------- | ----- |
|
1239
2253
|
| **org_code** | **String** | The identifier for the organization. | |
|
2254
|
+
| **expand** | **String** | Specify additional data to retrieve. Use \"billing\". | [optional] |
|
1240
2255
|
| **update_organization_request** | [**UpdateOrganizationRequest**](UpdateOrganizationRequest.md) | Organization details. | [optional] |
|
1241
2256
|
|
1242
2257
|
### Return type
|
@@ -1250,7 +2265,7 @@ end
|
|
1250
2265
|
### HTTP request headers
|
1251
2266
|
|
1252
2267
|
- **Content-Type**: application/json
|
1253
|
-
- **Accept**: application/json
|
2268
|
+
- **Accept**: application/json
|
1254
2269
|
|
1255
2270
|
|
1256
2271
|
## update_organization_feature_flag_override
|
@@ -1259,7 +2274,7 @@ end
|
|
1259
2274
|
|
1260
2275
|
Update Organization Feature Flag Override
|
1261
2276
|
|
1262
|
-
Update organization feature flag override.
|
2277
|
+
Update organization feature flag override. <div> <code>update:organization_feature_flags</code> </div>
|
1263
2278
|
|
1264
2279
|
### Examples
|
1265
2280
|
|
@@ -1326,13 +2341,228 @@ end
|
|
1326
2341
|
- **Accept**: application/json, application/json; charset=utf-8
|
1327
2342
|
|
1328
2343
|
|
2344
|
+
## update_organization_properties
|
2345
|
+
|
2346
|
+
> <SuccessResponse> update_organization_properties(org_code, update_organization_properties_request)
|
2347
|
+
|
2348
|
+
Update Organization Property values
|
2349
|
+
|
2350
|
+
Update organization property values. <div> <code>update:organization_properties</code> </div>
|
2351
|
+
|
2352
|
+
### Examples
|
2353
|
+
|
2354
|
+
```ruby
|
2355
|
+
require 'time'
|
2356
|
+
require 'kinde_api'
|
2357
|
+
# setup authorization
|
2358
|
+
KindeApi.configure do |config|
|
2359
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
2360
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2361
|
+
end
|
2362
|
+
|
2363
|
+
api_instance = KindeApi::OrganizationsApi.new
|
2364
|
+
org_code = 'org_code_example' # String | The identifier for the organization
|
2365
|
+
update_organization_properties_request = KindeApi::UpdateOrganizationPropertiesRequest.new({properties: 3.56}) # UpdateOrganizationPropertiesRequest | Properties to update.
|
2366
|
+
|
2367
|
+
begin
|
2368
|
+
# Update Organization Property values
|
2369
|
+
result = api_instance.update_organization_properties(org_code, update_organization_properties_request)
|
2370
|
+
p result
|
2371
|
+
rescue KindeApi::ApiError => e
|
2372
|
+
puts "Error when calling OrganizationsApi->update_organization_properties: #{e}"
|
2373
|
+
end
|
2374
|
+
```
|
2375
|
+
|
2376
|
+
#### Using the update_organization_properties_with_http_info variant
|
2377
|
+
|
2378
|
+
This returns an Array which contains the response data, status code and headers.
|
2379
|
+
|
2380
|
+
> <Array(<SuccessResponse>, Integer, Hash)> update_organization_properties_with_http_info(org_code, update_organization_properties_request)
|
2381
|
+
|
2382
|
+
```ruby
|
2383
|
+
begin
|
2384
|
+
# Update Organization Property values
|
2385
|
+
data, status_code, headers = api_instance.update_organization_properties_with_http_info(org_code, update_organization_properties_request)
|
2386
|
+
p status_code # => 2xx
|
2387
|
+
p headers # => { ... }
|
2388
|
+
p data # => <SuccessResponse>
|
2389
|
+
rescue KindeApi::ApiError => e
|
2390
|
+
puts "Error when calling OrganizationsApi->update_organization_properties_with_http_info: #{e}"
|
2391
|
+
end
|
2392
|
+
```
|
2393
|
+
|
2394
|
+
### Parameters
|
2395
|
+
|
2396
|
+
| Name | Type | Description | Notes |
|
2397
|
+
| ---- | ---- | ----------- | ----- |
|
2398
|
+
| **org_code** | **String** | The identifier for the organization | |
|
2399
|
+
| **update_organization_properties_request** | [**UpdateOrganizationPropertiesRequest**](UpdateOrganizationPropertiesRequest.md) | Properties to update. | |
|
2400
|
+
|
2401
|
+
### Return type
|
2402
|
+
|
2403
|
+
[**SuccessResponse**](SuccessResponse.md)
|
2404
|
+
|
2405
|
+
### Authorization
|
2406
|
+
|
2407
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
2408
|
+
|
2409
|
+
### HTTP request headers
|
2410
|
+
|
2411
|
+
- **Content-Type**: application/json
|
2412
|
+
- **Accept**: application/json, application/json; charset=utf-8
|
2413
|
+
|
2414
|
+
|
2415
|
+
## update_organization_property
|
2416
|
+
|
2417
|
+
> <SuccessResponse> update_organization_property(org_code, property_key, value)
|
2418
|
+
|
2419
|
+
Update Organization Property value
|
2420
|
+
|
2421
|
+
Update organization property value. <div> <code>update:organization_properties</code> </div>
|
2422
|
+
|
2423
|
+
### Examples
|
2424
|
+
|
2425
|
+
```ruby
|
2426
|
+
require 'time'
|
2427
|
+
require 'kinde_api'
|
2428
|
+
# setup authorization
|
2429
|
+
KindeApi.configure do |config|
|
2430
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
2431
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2432
|
+
end
|
2433
|
+
|
2434
|
+
api_instance = KindeApi::OrganizationsApi.new
|
2435
|
+
org_code = 'org_code_example' # String | The identifier for the organization
|
2436
|
+
property_key = 'property_key_example' # String | The identifier for the property
|
2437
|
+
value = 'value_example' # String | The new property value
|
2438
|
+
|
2439
|
+
begin
|
2440
|
+
# Update Organization Property value
|
2441
|
+
result = api_instance.update_organization_property(org_code, property_key, value)
|
2442
|
+
p result
|
2443
|
+
rescue KindeApi::ApiError => e
|
2444
|
+
puts "Error when calling OrganizationsApi->update_organization_property: #{e}"
|
2445
|
+
end
|
2446
|
+
```
|
2447
|
+
|
2448
|
+
#### Using the update_organization_property_with_http_info variant
|
2449
|
+
|
2450
|
+
This returns an Array which contains the response data, status code and headers.
|
2451
|
+
|
2452
|
+
> <Array(<SuccessResponse>, Integer, Hash)> update_organization_property_with_http_info(org_code, property_key, value)
|
2453
|
+
|
2454
|
+
```ruby
|
2455
|
+
begin
|
2456
|
+
# Update Organization Property value
|
2457
|
+
data, status_code, headers = api_instance.update_organization_property_with_http_info(org_code, property_key, value)
|
2458
|
+
p status_code # => 2xx
|
2459
|
+
p headers # => { ... }
|
2460
|
+
p data # => <SuccessResponse>
|
2461
|
+
rescue KindeApi::ApiError => e
|
2462
|
+
puts "Error when calling OrganizationsApi->update_organization_property_with_http_info: #{e}"
|
2463
|
+
end
|
2464
|
+
```
|
2465
|
+
|
2466
|
+
### Parameters
|
2467
|
+
|
2468
|
+
| Name | Type | Description | Notes |
|
2469
|
+
| ---- | ---- | ----------- | ----- |
|
2470
|
+
| **org_code** | **String** | The identifier for the organization | |
|
2471
|
+
| **property_key** | **String** | The identifier for the property | |
|
2472
|
+
| **value** | **String** | The new property value | |
|
2473
|
+
|
2474
|
+
### Return type
|
2475
|
+
|
2476
|
+
[**SuccessResponse**](SuccessResponse.md)
|
2477
|
+
|
2478
|
+
### Authorization
|
2479
|
+
|
2480
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
2481
|
+
|
2482
|
+
### HTTP request headers
|
2483
|
+
|
2484
|
+
- **Content-Type**: Not defined
|
2485
|
+
- **Accept**: application/json, application/json; charset=utf-8
|
2486
|
+
|
2487
|
+
|
2488
|
+
## update_organization_sessions
|
2489
|
+
|
2490
|
+
> <SuccessResponse> update_organization_sessions(org_code, update_organization_sessions_request)
|
2491
|
+
|
2492
|
+
Update organization session configuration
|
2493
|
+
|
2494
|
+
Update the organization's session configuration. <div> <code>update:organizations</code> </div>
|
2495
|
+
|
2496
|
+
### Examples
|
2497
|
+
|
2498
|
+
```ruby
|
2499
|
+
require 'time'
|
2500
|
+
require 'kinde_api'
|
2501
|
+
# setup authorization
|
2502
|
+
KindeApi.configure do |config|
|
2503
|
+
# Configure Bearer authorization (JWT): kindeBearerAuth
|
2504
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
2505
|
+
end
|
2506
|
+
|
2507
|
+
api_instance = KindeApi::OrganizationsApi.new
|
2508
|
+
org_code = 'org_1ccfb819462' # String | The organization's code.
|
2509
|
+
update_organization_sessions_request = KindeApi::UpdateOrganizationSessionsRequest.new # UpdateOrganizationSessionsRequest | Organization session configuration.
|
2510
|
+
|
2511
|
+
begin
|
2512
|
+
# Update organization session configuration
|
2513
|
+
result = api_instance.update_organization_sessions(org_code, update_organization_sessions_request)
|
2514
|
+
p result
|
2515
|
+
rescue KindeApi::ApiError => e
|
2516
|
+
puts "Error when calling OrganizationsApi->update_organization_sessions: #{e}"
|
2517
|
+
end
|
2518
|
+
```
|
2519
|
+
|
2520
|
+
#### Using the update_organization_sessions_with_http_info variant
|
2521
|
+
|
2522
|
+
This returns an Array which contains the response data, status code and headers.
|
2523
|
+
|
2524
|
+
> <Array(<SuccessResponse>, Integer, Hash)> update_organization_sessions_with_http_info(org_code, update_organization_sessions_request)
|
2525
|
+
|
2526
|
+
```ruby
|
2527
|
+
begin
|
2528
|
+
# Update organization session configuration
|
2529
|
+
data, status_code, headers = api_instance.update_organization_sessions_with_http_info(org_code, update_organization_sessions_request)
|
2530
|
+
p status_code # => 2xx
|
2531
|
+
p headers # => { ... }
|
2532
|
+
p data # => <SuccessResponse>
|
2533
|
+
rescue KindeApi::ApiError => e
|
2534
|
+
puts "Error when calling OrganizationsApi->update_organization_sessions_with_http_info: #{e}"
|
2535
|
+
end
|
2536
|
+
```
|
2537
|
+
|
2538
|
+
### Parameters
|
2539
|
+
|
2540
|
+
| Name | Type | Description | Notes |
|
2541
|
+
| ---- | ---- | ----------- | ----- |
|
2542
|
+
| **org_code** | **String** | The organization's code. | |
|
2543
|
+
| **update_organization_sessions_request** | [**UpdateOrganizationSessionsRequest**](UpdateOrganizationSessionsRequest.md) | Organization session configuration. | |
|
2544
|
+
|
2545
|
+
### Return type
|
2546
|
+
|
2547
|
+
[**SuccessResponse**](SuccessResponse.md)
|
2548
|
+
|
2549
|
+
### Authorization
|
2550
|
+
|
2551
|
+
[kindeBearerAuth](../README.md#kindeBearerAuth)
|
2552
|
+
|
2553
|
+
### HTTP request headers
|
2554
|
+
|
2555
|
+
- **Content-Type**: application/json
|
2556
|
+
- **Accept**: application/json
|
2557
|
+
|
2558
|
+
|
1329
2559
|
## update_organization_users
|
1330
2560
|
|
1331
2561
|
> <UpdateOrganizationUsersResponse> update_organization_users(org_code, opts)
|
1332
2562
|
|
1333
2563
|
Update Organization Users
|
1334
2564
|
|
1335
|
-
Update users that belong to an organization.
|
2565
|
+
Update users that belong to an organization. <div> <code>update:organization_users</code> </div>
|
1336
2566
|
|
1337
2567
|
### Examples
|
1338
2568
|
|
@@ -1396,5 +2626,5 @@ end
|
|
1396
2626
|
### HTTP request headers
|
1397
2627
|
|
1398
2628
|
- **Content-Type**: application/json
|
1399
|
-
- **Accept**: application/json
|
2629
|
+
- **Accept**: application/json
|
1400
2630
|
|