{
"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"
}
]
}
}
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"
}
]
}
}'
{}