AbpZero
  1. TenantSettings
AbpZero
  • TokenAuth
    • /api/TokenAuth/Authenticate
      POST
    • /api/TokenAuth/RefreshToken
      POST
    • /api/TokenAuth/LogOut
      GET
    • /api/TokenAuth/SendTwoFactorAuthCode
      POST
    • /api/TokenAuth/ImpersonatedAuthenticate
      POST
    • /api/TokenAuth/DelegatedImpersonatedAuthenticate
      POST
    • /api/TokenAuth/LinkedAccountAuthenticate
      POST
    • /api/TokenAuth/GetExternalAuthenticationProviders
      GET
    • /api/TokenAuth/ExternalAuthenticate
      POST
    • /api/TokenAuth/TestNotification
      GET
  • Tenant
    • /api/services/app/Tenant/GetTenants
      GET
    • /api/services/app/Tenant/CreateTenant
      POST
    • /api/services/app/Tenant/GetTenantForEdit
      GET
    • /api/services/app/Tenant/UpdateTenant
      PUT
    • /api/services/app/Tenant/DeleteTenant
      DELETE
    • /api/services/app/Tenant/GetTenantFeaturesForEdit
      GET
    • /api/services/app/Tenant/UpdateTenantFeatures
      PUT
    • /api/services/app/Tenant/ResetTenantSpecificFeatures
      POST
    • /api/services/app/Tenant/UnlockTenantAdmin
      POST
  • PacsCheckApplies
    • /api/services/app/PacsCheckApplies/GetAll
      GET
    • /api/services/app/PacsCheckApplies/GetPacsCheckApplyForView
      GET
    • /api/services/app/PacsCheckApplies/GetPacsCheckApplyForEdit
      GET
    • /api/services/app/PacsCheckApplies/CreateOrEdit
      POST
    • /api/services/app/PacsCheckApplies/Delete
      DELETE
    • /api/services/app/PacsCheckApplies/GetPacsCheckAppliesToExcel
      GET
  • Account
    • /api/services/app/Account/IsTenantAvailable
    • /api/services/app/Account/ResolveTenantId
    • /api/services/app/Account/Register
    • /api/services/app/Account/SendPasswordResetCode
    • /api/services/app/Account/ResetPassword
    • /api/services/app/Account/SendEmailActivationLink
    • /api/services/app/Account/ActivateEmail
    • /api/services/app/Account/ImpersonateUser
    • /api/services/app/Account/ImpersonateTenant
    • /api/services/app/Account/DelegatedImpersonate
    • /api/services/app/Account/BackToImpersonator
    • /api/services/app/Account/SwitchToLinkedAccount
  • AuditLog
    • /api/services/app/AuditLog/GetAuditLogs
    • /api/services/app/AuditLog/GetAuditLogsToExcel
    • /api/services/app/AuditLog/GetEntityHistoryObjectTypes
    • /api/services/app/AuditLog/GetEntityChanges
    • /api/services/app/AuditLog/GetEntityTypeChanges
    • /api/services/app/AuditLog/GetEntityChangesToExcel
    • /api/services/app/AuditLog/GetEntityPropertyChanges
  • Caching
    • /api/services/app/Caching/GetAllCaches
    • /api/services/app/Caching/ClearCache
    • /api/services/app/Caching/ClearAllCaches
  • Chat
    • /api/services/app/Chat/GetUserChatFriendsWithSettings
    • /api/services/app/Chat/GetUserChatMessages
    • /api/services/app/Chat/MarkAllUnreadMessagesOfUserAsRead
  • CommonLookup
    • /api/services/app/CommonLookup/GetEditionsForCombobox
    • /api/services/app/CommonLookup/FindUsers
    • /api/services/app/CommonLookup/GetDefaultEditionName
  • DashboardCustomization
    • /api/services/app/DashboardCustomization/GetUserDashboard
    • /api/services/app/DashboardCustomization/SavePage
    • /api/services/app/DashboardCustomization/RenamePage
    • /api/services/app/DashboardCustomization/AddNewPage
    • /api/services/app/DashboardCustomization/DeletePage
    • /api/services/app/DashboardCustomization/AddWidget
    • /api/services/app/DashboardCustomization/GetDashboardDefinition
    • /api/services/app/DashboardCustomization/GetAllWidgetDefinitions
    • /api/services/app/DashboardCustomization/GetAllAvailableWidgetDefinitionsForPage
    • /api/services/app/DashboardCustomization/GetSettingName
  • Demos
    • /api/services/app/Demos/aTestServer
    • /api/services/app/Demos/GetAll
    • /api/services/app/Demos/GetDemoForView
    • /api/services/app/Demos/GetDemoForEdit
    • /api/services/app/Demos/CreateOrEdit
    • /api/services/app/Demos/Delete
    • /api/services/app/Demos/GetDemosToExcel
  • DemoUiComponents
    • /api/services/app/DemoUiComponents/SendAndGetDate
    • /api/services/app/DemoUiComponents/SendAndGetDateTime
    • /api/services/app/DemoUiComponents/SendAndGetDateRange
    • /api/services/app/DemoUiComponents/SendAndGetDateWithText
    • /api/services/app/DemoUiComponents/GetCountries
    • /api/services/app/DemoUiComponents/SendAndGetSelectedCountries
    • /api/services/app/DemoUiComponents/SendAndGetValue
  • DynamicEntityProperty
    • /api/services/app/DynamicEntityProperty/Get
    • /api/services/app/DynamicEntityProperty/GetAllPropertiesOfAnEntity
    • /api/services/app/DynamicEntityProperty/GetAll
    • /api/services/app/DynamicEntityProperty/Add
    • /api/services/app/DynamicEntityProperty/Update
    • /api/services/app/DynamicEntityProperty/Delete
    • /api/services/app/DynamicEntityProperty/GetAllEntitiesHasDynamicProperty
  • DynamicEntityPropertyDefinition
    • /api/services/app/DynamicEntityPropertyDefinition/GetAllAllowedInputTypeNames
    • /api/services/app/DynamicEntityPropertyDefinition/GetAllEntities
  • DynamicEntityPropertyValue
    • /api/services/app/DynamicEntityPropertyValue/Get
    • /api/services/app/DynamicEntityPropertyValue/GetAll
    • /api/services/app/DynamicEntityPropertyValue/Add
    • /api/services/app/DynamicEntityPropertyValue/Update
    • /api/services/app/DynamicEntityPropertyValue/Delete
    • /api/services/app/DynamicEntityPropertyValue/GetAllDynamicEntityPropertyValues
    • /api/services/app/DynamicEntityPropertyValue/InsertOrUpdateAllValues
    • /api/services/app/DynamicEntityPropertyValue/CleanValues
  • DynamicProperty
    • /api/services/app/DynamicProperty/Get
    • /api/services/app/DynamicProperty/GetAll
    • /api/services/app/DynamicProperty/Add
    • /api/services/app/DynamicProperty/Update
    • /api/services/app/DynamicProperty/Delete
    • /api/services/app/DynamicProperty/FindAllowedInputType
  • DynamicPropertyValue
    • /api/services/app/DynamicPropertyValue/Get
    • /api/services/app/DynamicPropertyValue/GetAllValuesOfDynamicProperty
    • /api/services/app/DynamicPropertyValue/Add
    • /api/services/app/DynamicPropertyValue/Update
    • /api/services/app/DynamicPropertyValue/Delete
  • Edition
    • /api/services/app/Edition/GetEditions
    • /api/services/app/Edition/GetEditionForEdit
    • /api/services/app/Edition/CreateEdition
    • /api/services/app/Edition/UpdateEdition
    • /api/services/app/Edition/DeleteEdition
    • /api/services/app/Edition/MoveTenantsToAnotherEdition
    • /api/services/app/Edition/GetEditionComboboxItems
    • /api/services/app/Edition/GetTenantCount
  • Friendship
    • /api/services/app/Friendship/CreateFriendshipRequest
    • /api/services/app/Friendship/CreateFriendshipRequestByUserName
    • /api/services/app/Friendship/BlockUser
    • /api/services/app/Friendship/UnblockUser
    • /api/services/app/Friendship/AcceptFriendshipRequest
    • /api/services/app/Friendship/RemoveFriend
  • HostDashboard
    • /api/services/app/HostDashboard/GetTopStatsData
    • /api/services/app/HostDashboard/GetRecentTenantsData
    • /api/services/app/HostDashboard/GetSubscriptionExpiringTenantsData
    • /api/services/app/HostDashboard/GetIncomeStatistics
    • /api/services/app/HostDashboard/GetEditionTenantStatistics
  • HostSettings
    • /api/services/app/HostSettings/GetAllSettings
    • /api/services/app/HostSettings/UpdateAllSettings
    • /api/services/app/HostSettings/SendTestEmail
    • /api/services/app/HostSettings/GetEnabledSocialLoginSettings
  • Install
    • /api/services/app/Install/Setup
    • /api/services/app/Install/GetAppSettingsJson
    • /api/services/app/Install/CheckDatabase
  • Invoice
    • /api/services/app/Invoice/GetInvoiceInfo
    • /api/services/app/Invoice/CreateInvoice
  • Language
    • /api/services/app/Language/GetLanguages
    • /api/services/app/Language/GetLanguageForEdit
    • /api/services/app/Language/CreateOrUpdateLanguage
    • /api/services/app/Language/DeleteLanguage
    • /api/services/app/Language/SetDefaultLanguage
    • /api/services/app/Language/GetLanguageTexts
    • /api/services/app/Language/UpdateLanguageText
  • Notification
    • /api/services/app/Notification/GetUserNotifications
    • /api/services/app/Notification/ShouldUserUpdateApp
    • /api/services/app/Notification/SetAllAvailableVersionNotificationAsRead
    • /api/services/app/Notification/SetAllNotificationsAsRead
    • /api/services/app/Notification/SetNotificationAsRead
    • /api/services/app/Notification/GetNotificationSettings
    • /api/services/app/Notification/UpdateNotificationSettings
    • /api/services/app/Notification/DeleteNotification
    • /api/services/app/Notification/DeleteAllUserNotifications
    • /api/services/app/Notification/GetAllUserForLookupTable
    • /api/services/app/Notification/GetAllOrganizationUnitForLookupTable
    • /api/services/app/Notification/CreateMassNotification
    • /api/services/app/Notification/CreateNewVersionReleasedNotification
    • /api/services/app/Notification/GetAllNotifiers
    • /api/services/app/Notification/GetNotificationsPublishedByUser
  • OrganizationUnit
    • /api/services/app/OrganizationUnit/GetOrganizationUnits
    • /api/services/app/OrganizationUnit/GetOrganizationUnitUsers
    • /api/services/app/OrganizationUnit/GetOrganizationUnitRoles
    • /api/services/app/OrganizationUnit/CreateOrganizationUnit
    • /api/services/app/OrganizationUnit/UpdateOrganizationUnit
    • /api/services/app/OrganizationUnit/MoveOrganizationUnit
    • /api/services/app/OrganizationUnit/DeleteOrganizationUnit
    • /api/services/app/OrganizationUnit/RemoveUserFromOrganizationUnit
    • /api/services/app/OrganizationUnit/RemoveRoleFromOrganizationUnit
    • /api/services/app/OrganizationUnit/AddUsersToOrganizationUnit
    • /api/services/app/OrganizationUnit/AddRolesToOrganizationUnit
    • /api/services/app/OrganizationUnit/FindUsers
    • /api/services/app/OrganizationUnit/FindRoles
    • /api/services/app/OrganizationUnit/GetAll
  • Payment
    • /api/services/app/Payment/GetPaymentInfo
    • /api/services/app/Payment/CreatePayment
    • /api/services/app/Payment/CancelPayment
    • /api/services/app/Payment/GetPaymentHistory
    • /api/services/app/Payment/GetActiveGateways
    • /api/services/app/Payment/GetPayment
    • /api/services/app/Payment/GetLastCompletedPayment
    • /api/services/app/Payment/BuyNowSucceed
    • /api/services/app/Payment/NewRegistrationSucceed
    • /api/services/app/Payment/UpgradeSucceed
    • /api/services/app/Payment/ExtendSucceed
    • /api/services/app/Payment/PaymentFailed
    • /api/services/app/Payment/SwitchBetweenFreeEditions
    • /api/services/app/Payment/UpgradeSubscriptionCostsLessThenMinAmount
    • /api/services/app/Payment/HasAnyPayment
  • PayPalPayment
    • /api/services/app/PayPalPayment/ConfirmPayment
    • /api/services/app/PayPalPayment/GetConfiguration
  • Permission
    • /api/services/app/Permission/GetAllPermissions
  • Profile
    • /api/services/app/Profile/GetCurrentUserProfileForEdit
    • /api/services/app/Profile/DisableGoogleAuthenticator
    • /api/services/app/Profile/ViewRecoveryCodes
    • /api/services/app/Profile/GenerateGoogleAuthenticatorKey
    • /api/services/app/Profile/UpdateGoogleAuthenticatorKey
    • /api/services/app/Profile/SendVerificationSms
    • /api/services/app/Profile/VerifySmsCode
    • /api/services/app/Profile/PrepareCollectedData
    • /api/services/app/Profile/UpdateCurrentUserProfile
    • /api/services/app/Profile/ChangePassword
    • /api/services/app/Profile/UpdateProfilePicture
    • /api/services/app/Profile/VerifyAuthenticatorCode
    • /api/services/app/Profile/GetPasswordComplexitySetting
    • /api/services/app/Profile/GetProfilePicture
    • /api/services/app/Profile/GetProfilePictureByUserName
    • /api/services/app/Profile/GetFriendProfilePicture
    • /api/services/app/Profile/GetProfilePictureByUser
    • /api/services/app/Profile/ChangeLanguage
  • Role
    • /api/services/app/Role/GetRoles
    • /api/services/app/Role/GetRoleForEdit
    • /api/services/app/Role/CreateOrUpdateRole
    • /api/services/app/Role/DeleteRole
  • Session
    • /api/services/app/Session/GetCurrentLoginInformations
    • /api/services/app/Session/UpdateUserSignInToken
  • StripePayment
    • /api/services/app/StripePayment/GetConfiguration
    • /api/services/app/StripePayment/GetPayment
    • /api/services/app/StripePayment/CreatePaymentSession
    • /api/services/app/StripePayment/GetPaymentResult
  • Subscription
    • /api/services/app/Subscription/DisableRecurringPayments
    • /api/services/app/Subscription/EnableRecurringPayments
  • TenantCustomization
    • /TenantCustomization/GetTenantLogo/{skin}/{tenantId}/{extension}
  • TenantDashboard
    • /api/services/app/TenantDashboard/GetMemberActivity
    • /api/services/app/TenantDashboard/GetDashboardData
    • /api/services/app/TenantDashboard/GetTopStats
    • /api/services/app/TenantDashboard/GetProfitShare
    • /api/services/app/TenantDashboard/GetDailySales
    • /api/services/app/TenantDashboard/GetSalesSummary
    • /api/services/app/TenantDashboard/GetRegionalStats
    • /api/services/app/TenantDashboard/GetGeneralStats
  • TenantRegistration
    • /api/services/app/TenantRegistration/RegisterTenant
    • /api/services/app/TenantRegistration/GetEditionsForSelect
    • /api/services/app/TenantRegistration/GetEdition
  • TenantSettings
    • /api/services/app/TenantSettings/GetAllSettings
      GET
    • /api/services/app/TenantSettings/UpdateAllSettings
      PUT
    • /api/services/app/TenantSettings/ClearLogo
      POST
    • /api/services/app/TenantSettings/ClearCustomCss
      POST
    • /api/services/app/TenantSettings/SendTestEmail
      POST
    • /api/services/app/TenantSettings/GetEnabledSocialLoginSettings
      GET
  • Timing
    • /api/services/app/Timing/GetTimezones
    • /api/services/app/Timing/GetTimezoneComboboxItems
  • Twitter
    • /api/Twitter/GetRequestToken
    • /api/Twitter/GetAccessToken
  • UiCustomizationSettings
    • /api/services/app/UiCustomizationSettings/GetUiManagementSettings
    • /api/services/app/UiCustomizationSettings/ChangeThemeWithDefaultValues
    • /api/services/app/UiCustomizationSettings/UpdateUiManagementSettings
    • /api/services/app/UiCustomizationSettings/UpdateDefaultUiManagementSettings
    • /api/services/app/UiCustomizationSettings/UseSystemDefaultSettings
    • /api/services/app/UiCustomizationSettings/ChangeDarkModeOfCurrentTheme
  • User
    • /api/services/app/User/GetUsers
    • /api/services/app/User/GetUsersToExcel
    • /api/services/app/User/GetUserForEdit
    • /api/services/app/User/GetUserPermissionsForEdit
    • /api/services/app/User/ResetUserSpecificPermissions
    • /api/services/app/User/UpdateUserPermissions
    • /api/services/app/User/CreateOrUpdateUser
    • /api/services/app/User/DeleteUser
    • /api/services/app/User/UnlockUser
  • UserDelegation
    • /api/services/app/UserDelegation/GetDelegatedUsers
    • /api/services/app/UserDelegation/DelegateNewUser
    • /api/services/app/UserDelegation/RemoveDelegation
    • /api/services/app/UserDelegation/GetActiveUserDelegations
  • UserLink
    • /api/services/app/UserLink/LinkToUser
    • /api/services/app/UserLink/GetLinkedUsers
    • /api/services/app/UserLink/GetRecentlyUsedLinkedUsers
    • /api/services/app/UserLink/UnlinkUser
  • UserLogin
    • /api/services/app/UserLogin/GetUserLoginAttempts
  • WebhookEvent
    • /api/services/app/WebhookEvent/Get
  • WebhookSendAttempt
    • /api/services/app/WebhookSendAttempt/GetAllSendAttempts
    • /api/services/app/WebhookSendAttempt/GetAllSendAttemptsOfWebhookEvent
    • /api/services/app/WebhookSendAttempt/Resend
  • WebhookSubscription
    • /api/services/app/WebhookSubscription/PublishTestWebhook
    • /api/services/app/WebhookSubscription/GetAllSubscriptions
    • /api/services/app/WebhookSubscription/GetSubscription
    • /api/services/app/WebhookSubscription/AddSubscription
    • /api/services/app/WebhookSubscription/UpdateSubscription
    • /api/services/app/WebhookSubscription/ActivateWebhookSubscription
    • /api/services/app/WebhookSubscription/IsSubscribed
    • /api/services/app/WebhookSubscription/GetAllSubscriptionsIfFeaturesGranted
    • /api/services/app/WebhookSubscription/GetAllAvailableWebhooks
  • WebLog
    • /api/services/app/WebLog/GetLatestWebLogs
    • /api/services/app/WebLog/DownloadWebLogs
  • 0常用
  1. TenantSettings

/api/services/app/TenantSettings/UpdateAllSettings

PUT
/api/services/app/TenantSettings/UpdateAllSettings
TenantSettings

请求参数

Body 参数application/json
general
object (GeneralSettingsEditDto) 
可选
timezone
string  | null 
可选
timezoneForComparison
string  | null 
可选
userManagement
object (TenantUserManagementSettingsEditDto) 
必需
allowSelfRegistration
boolean 
可选
isNewRegisteredUserActiveByDefault
boolean 
可选
isEmailConfirmationRequiredForLogin
boolean 
可选
useCaptchaOnRegistration
boolean 
可选
useCaptchaOnLogin
boolean 
可选
isCookieConsentEnabled
boolean 
可选
isQuickThemeSelectEnabled
boolean 
可选
allowUsingGravatarProfilePicture
boolean 
可选
sessionTimeOutSettings
object (SessionTimeOutSettingsEditDto) 
可选
email
object (TenantEmailSettingsEditDto) 
可选
useHostDefaultEmailSettings
boolean 
可选
defaultFromAddress
string  | null 
可选
defaultFromDisplayName
string  | null 
可选
smtpHost
string  | null 
可选
smtpPort
integer <int32>
可选
smtpUserName
string  | null 
可选
smtpPassword
string  | null 
可选
smtpDomain
string  | null 
可选
smtpEnableSsl
boolean 
可选
smtpUseDefaultCredentials
boolean 
可选
ldap
object (LdapSettingsEditDto) 
可选
isModuleEnabled
boolean 
可选
isEnabled
boolean 
可选
domain
string  | null 
可选
userName
string  | null 
可选
password
string  | null 
可选
security
object (SecuritySettingsEditDto) 
必需
allowOneConcurrentLoginPerUser
boolean 
可选
useDefaultPasswordComplexitySettings
boolean 
可选
passwordComplexity
object (PasswordComplexitySetting) 
可选
defaultPasswordComplexity
object (PasswordComplexitySetting) 
可选
userLockOut
object (UserLockOutSettingsEditDto) 
可选
twoFactorLogin
object (TwoFactorLoginSettingsEditDto) 
可选
billing
object (TenantBillingSettingsEditDto) 
可选
legalName
string  | null 
可选
address
string  | null 
可选
taxVatNo
string  | null 
可选
otherSettings
object (TenantOtherSettingsEditDto) 
可选
isQuickThemeSelectEnabled
boolean 
可选
externalLoginProviderSettings
object (ExternalLoginProviderSettingsEditDto) 
可选
facebook_IsDeactivated
boolean 
可选
facebook
object (FacebookExternalLoginProviderSettings) 
可选
google_IsDeactivated
boolean 
可选
google
object (GoogleExternalLoginProviderSettings) 
可选
twitter_IsDeactivated
boolean 
可选
twitter
object (TwitterExternalLoginProviderSettings) 
可选
microsoft_IsDeactivated
boolean 
可选
microsoft
object (MicrosoftExternalLoginProviderSettings) 
可选
openIdConnect_IsDeactivated
boolean 
可选
openIdConnect
object (OpenIdConnectExternalLoginProviderSettings) 
可选
openIdConnectClaimsMapping
array[object (JsonClaimMapDto) {2}]  | null 
可选
wsFederation_IsDeactivated
boolean 
可选
wsFederation
object (WsFederationExternalLoginProviderSettings) 
可选
wsFederationClaimsMapping
array[object (JsonClaimMapDto) {2}]  | null 
可选
示例
{
    "general": {
        "timezone": "string",
        "timezoneForComparison": "string"
    },
    "userManagement": {
        "allowSelfRegistration": true,
        "isNewRegisteredUserActiveByDefault": true,
        "isEmailConfirmationRequiredForLogin": true,
        "useCaptchaOnRegistration": true,
        "useCaptchaOnLogin": true,
        "isCookieConsentEnabled": true,
        "isQuickThemeSelectEnabled": true,
        "allowUsingGravatarProfilePicture": true,
        "sessionTimeOutSettings": {
            "isEnabled": true,
            "timeOutSecond": 10,
            "showTimeOutNotificationSecond": 10,
            "showLockScreenWhenTimedOut": true
        }
    },
    "email": {
        "useHostDefaultEmailSettings": true,
        "defaultFromAddress": "string",
        "defaultFromDisplayName": "string",
        "smtpHost": "string",
        "smtpPort": 0,
        "smtpUserName": "string",
        "smtpPassword": "string",
        "smtpDomain": "string",
        "smtpEnableSsl": true,
        "smtpUseDefaultCredentials": true
    },
    "ldap": {
        "isModuleEnabled": true,
        "isEnabled": true,
        "domain": "string",
        "userName": "string",
        "password": "string"
    },
    "security": {
        "allowOneConcurrentLoginPerUser": true,
        "useDefaultPasswordComplexitySettings": true,
        "passwordComplexity": {
            "requireDigit": true,
            "requireLowercase": true,
            "requireNonAlphanumeric": true,
            "requireUppercase": true,
            "requiredLength": 0
        },
        "defaultPasswordComplexity": {
            "requireDigit": true,
            "requireLowercase": true,
            "requireNonAlphanumeric": true,
            "requireUppercase": true,
            "requiredLength": 0
        },
        "userLockOut": {
            "isEnabled": true,
            "maxFailedAccessAttemptsBeforeLockout": 0,
            "defaultAccountLockoutSeconds": 0
        },
        "twoFactorLogin": {
            "isEnabledForApplication": true,
            "isEnabled": true,
            "isEmailProviderEnabled": true,
            "isSmsProviderEnabled": true,
            "isRememberBrowserEnabled": true,
            "isGoogleAuthenticatorEnabled": true
        }
    },
    "billing": {
        "legalName": "string",
        "address": "string",
        "taxVatNo": "string"
    },
    "otherSettings": {
        "isQuickThemeSelectEnabled": true
    },
    "externalLoginProviderSettings": {
        "facebook_IsDeactivated": true,
        "facebook": {
            "appId": "string",
            "appSecret": "string"
        },
        "google_IsDeactivated": true,
        "google": {
            "clientId": "string",
            "clientSecret": "string",
            "userInfoEndpoint": "string"
        },
        "twitter_IsDeactivated": true,
        "twitter": {
            "consumerKey": "string",
            "consumerSecret": "string"
        },
        "microsoft_IsDeactivated": true,
        "microsoft": {
            "clientId": "string",
            "clientSecret": "string"
        },
        "openIdConnect_IsDeactivated": true,
        "openIdConnect": {
            "clientId": "string",
            "clientSecret": "string",
            "authority": "string",
            "loginUrl": "string",
            "validateIssuer": true,
            "responseType": "string"
        },
        "openIdConnectClaimsMapping": [
            {
                "claim": "string",
                "key": "string"
            }
        ],
        "wsFederation_IsDeactivated": true,
        "wsFederation": {
            "clientId": "string",
            "tenant": "string",
            "metaDataAddress": "string",
            "wtrealm": "string",
            "authority": "string"
        },
        "wsFederationClaimsMapping": [
            {
                "claim": "string",
                "key": "string"
            }
        ]
    }
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT '/api/services/app/TenantSettings/UpdateAllSettings' \
--header 'Content-Type: application/json' \
--data-raw '{
    "general": {
        "timezone": "string",
        "timezoneForComparison": "string"
    },
    "userManagement": {
        "allowSelfRegistration": true,
        "isNewRegisteredUserActiveByDefault": true,
        "isEmailConfirmationRequiredForLogin": true,
        "useCaptchaOnRegistration": true,
        "useCaptchaOnLogin": true,
        "isCookieConsentEnabled": true,
        "isQuickThemeSelectEnabled": true,
        "allowUsingGravatarProfilePicture": true,
        "sessionTimeOutSettings": {
            "isEnabled": true,
            "timeOutSecond": 10,
            "showTimeOutNotificationSecond": 10,
            "showLockScreenWhenTimedOut": true
        }
    },
    "email": {
        "useHostDefaultEmailSettings": true,
        "defaultFromAddress": "string",
        "defaultFromDisplayName": "string",
        "smtpHost": "string",
        "smtpPort": 0,
        "smtpUserName": "string",
        "smtpPassword": "string",
        "smtpDomain": "string",
        "smtpEnableSsl": true,
        "smtpUseDefaultCredentials": true
    },
    "ldap": {
        "isModuleEnabled": true,
        "isEnabled": true,
        "domain": "string",
        "userName": "string",
        "password": "string"
    },
    "security": {
        "allowOneConcurrentLoginPerUser": true,
        "useDefaultPasswordComplexitySettings": true,
        "passwordComplexity": {
            "requireDigit": true,
            "requireLowercase": true,
            "requireNonAlphanumeric": true,
            "requireUppercase": true,
            "requiredLength": 0
        },
        "defaultPasswordComplexity": {
            "requireDigit": true,
            "requireLowercase": true,
            "requireNonAlphanumeric": true,
            "requireUppercase": true,
            "requiredLength": 0
        },
        "userLockOut": {
            "isEnabled": true,
            "maxFailedAccessAttemptsBeforeLockout": 0,
            "defaultAccountLockoutSeconds": 0
        },
        "twoFactorLogin": {
            "isEnabledForApplication": true,
            "isEnabled": true,
            "isEmailProviderEnabled": true,
            "isSmsProviderEnabled": true,
            "isRememberBrowserEnabled": true,
            "isGoogleAuthenticatorEnabled": true
        }
    },
    "billing": {
        "legalName": "string",
        "address": "string",
        "taxVatNo": "string"
    },
    "otherSettings": {
        "isQuickThemeSelectEnabled": true
    },
    "externalLoginProviderSettings": {
        "facebook_IsDeactivated": true,
        "facebook": {
            "appId": "string",
            "appSecret": "string"
        },
        "google_IsDeactivated": true,
        "google": {
            "clientId": "string",
            "clientSecret": "string",
            "userInfoEndpoint": "string"
        },
        "twitter_IsDeactivated": true,
        "twitter": {
            "consumerKey": "string",
            "consumerSecret": "string"
        },
        "microsoft_IsDeactivated": true,
        "microsoft": {
            "clientId": "string",
            "clientSecret": "string"
        },
        "openIdConnect_IsDeactivated": true,
        "openIdConnect": {
            "clientId": "string",
            "clientSecret": "string",
            "authority": "string",
            "loginUrl": "string",
            "validateIssuer": true,
            "responseType": "string"
        },
        "openIdConnectClaimsMapping": [
            {
                "claim": "string",
                "key": "string"
            }
        ],
        "wsFederation_IsDeactivated": true,
        "wsFederation": {
            "clientId": "string",
            "tenant": "string",
            "metaDataAddress": "string",
            "wtrealm": "string",
            "authority": "string"
        },
        "wsFederationClaimsMapping": [
            {
                "claim": "string",
                "key": "string"
            }
        ]
    }
}'

返回响应

🟢200Success
application/json
Body
object {0}
示例
{}
上一页
/api/services/app/TenantSettings/GetAllSettings
下一页
/api/services/app/TenantSettings/ClearLogo
Built with