Create Workspace
Create Workspace
Header Parameters
Request Body
id
stringRequired
Id of the workspace.
realm
stringRequired
Name of the workspace.
realmLogo
stringRequired
Logo Url of the workspace.
workspace
stringRequired
Workspace URL
notBefore
numberRequired
Not before timestamp value.
revokeRefreshToken
booleanRequired
true/false for revoking the refresh token
refreshTokenMaxReuse
numberRequired
Count of the refresh token max reuse.
accessTokenLifespan
numberRequired
Lifespan of the access token.
accessTokenLifespanForImplicitFlow
numberRequired
Lifespan of the access token in implicit flow.
ssoSessionIdleTimeout
numberRequired
Timeout value of sso session idle state.
ssoSessionMaxLifespan
numberRequired
Max lifespan of the sso session.
ssoSessionIdleTimeoutRememberMe
numberRequired
Remember me idle session timeout value.
ssoSessionMaxLifespanRememberMe
numberRequired
Max lifespan of Remember me for sso session.
offlineSessionIdleTimeout
numberRequired
Timeout of idle offline session.
offlineSessionMaxLifespanEnabled
booleanRequired
true/false of Max lifespan for offline session is enabled or not.
offlineSessionMaxLifespan
numberRequired
Max lifespan of the offline session.
clientSessionIdleTimeout
numberRequired
Timeout of client idle session
clientSessionMaxLifespan
numberRequired
Max lifespan of client session.
clientOfflineSessionIdleTimeout
numberRequired
Timeout of the client idle offline session.
clientOfflineSessionMaxLifespan
numberRequired
Max lifespan of client offline session
accessCodeLifespan
numberRequired
Lifespan of the access code.
accessCodeLifespanUserAction
numberRequired
Lifespan of user action access code.
accessCodeLifespanLogin
numberRequired
Lifespan of the login access code.
actionTokenGeneratedByAdminLifespan
numberRequired
Lifespan of action token generated by admin.
actionTokenGeneratedByUserLifespan
numberRequired
Lifespan of the action token generated by user.
enabled
booleanRequired
true/false for workspace enabled or not.
sslRequired
stringRequired
true/false for ssl required or not.
verifyEmail
booleanRequired
true/false for email verified or not.
loginWithEmailAllowed
booleanRequired
true/false Login with email allowed or not.
duplicateEmailsAllowed
booleanRequired
true/false duplicate email allowed or not.
editUsernameAllowed
booleanRequired
true/false edit username allowed or not.
userInviteWay
stringRequired
User invite way.
bruteForceProtected
booleanRequired
true/false brute force protected or not.
permanentLockout
booleanRequired
true/false permanent lockout or not.
maxFailureWaitSeconds
numberRequired
Max failure wait seconds.
minimumQuickLoginWaitSeconds
numberRequired
Minimum quick login wait seconds.
waitIncrementSeconds
numberRequired
Wait increment seconds.
quickLoginCheckMilliSeconds
numberRequired
Quick login check milliseconds.
maxDeltaTimeSeconds
numberRequired
Max delta time seconds.
failureFactor
numberRequired
Failure factor
enabledOwnEmailProvider
booleanRequired
true/false for Own email provider enabled or not.
enabledOwnSmsProvider
booleanRequired
true/false for Own sms provider enabled or not.
defaultRoles
arrayRequired
Array of default roles.
requiredCredentials
arrayRequired
Array of required credentials or not.
otpPolicyType
stringRequired
Type of the otp policy.
otpPolicyAlgorithm
stringRequired
Otp policy algorithm
otpPolicyInitialCounter
numberRequired
Otp policy algorithm
otpPolicyDigits
numberRequired
Otp policy digits.
otpPolicyLookAheadWindow
numberRequired
Otp policy look ahead window.
otpPolicyPeriod
numberRequired
Otp policy period
otpSupportedApplications
arrayRequired
Otp supported Applications.
webAuthnPolicyRpEntityName
stringRequired
Entity name of the webauthn policrp
webAuthnPolicySignatureAlgorithms
arrayRequired
Array of webauthn policy signature algorithms.
webAuthnPolicyRpId
stringRequired
Webauthn policy rp ID
webAuthnPolicyAttestationConveyancePreference
stringRequired
Preference of the attestation conveyance preference.
webAuthnPolicyAuthenticatorAttachment
stringRequired
Webauthn policy authenticator attachment.
webAuthnPolicyRequireResidentKey
stringRequired
Webauthn policy require residentkey.
webAuthnPolicyUserVerificationRequirement
stringRequired
Webauthn policy user verification requirement.
webAuthnPolicyCreateTimeout
numberRequired
Timeout to create webauthn policy
webAuthnPolicyAvoidSameAuthenticatorRegister
booleanRequired
true/false webauthn policy avoid same authenticator register.
webAuthnPolicyAcceptableAaguids
arrayRequired
Array of webauthn policy acceptable aaguids.
webAuthnPolicyPasswordlessRpEntityName
stringRequired
EntityName of webauthn policy passwordlessRp
webAuthnPolicyPasswordlessSignatureAlgorithms
arrayRequired
Array of webauthn policy passwordless signature algorithms.
webAuthnPolicyPasswordlessRpId
stringRequired
Id of Webauthn policy passwordlessRp
webAuthnPolicyPasswordlessAttestationConveyancePreference
stringRequired
Webauthn policy passwordless attestation conveyance preference.
webAuthnPolicyPasswordlessAuthenticatorAttachment
stringRequired
Webauthn policy passwordless authenticator attachment.
webAuthnPolicyPasswordlessRequireResidentKey
stringRequired
Webauthn policy passwordless require resident key.
webAuthnPolicyPasswordlessUserVerificationRequirement
stringRequired
Webauthn policy passwordless verification requirement.
webAuthnPolicyPasswordlessCreateTimeout
numberRequired
Create Timeout webauthn policy passwordless.
webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister
booleanRequired
Webauthn policy passwordless avoid same authenticator register.
webAuthnPolicyPasswordlessAcceptableAaguids
arrayRequired
Array of webauthn policy passwordless acceptable aaguids.
browserSecurityHeaders
objectRequired
Browser Security Headers.
smtpServer
objectRequired
SMTP server.
smsServer
objectRequired
SMS Server.
loginTheme
stringRequired
Login theme.
accountTheme
stringRequired
Account theme.
adminTheme
stringRequired
Admin theme.
emailTheme
stringRequired
Email theme.
eventsEnabled
booleanRequired
true/false Events enabled or not.
mfaProviders
arrayRequired
Array of MFA providers.
eventsListeners
arrayRequired
Array of events listeners.
enabledEventTypes
arrayRequired
true/false Enabled in event types.
adminEventsEnabled
booleanRequired
true/false Admin Events enabled.
adminEventsDetailsEnabled
booleanRequired
true/false Admin Events Details Enabled.
identityProviders
arrayRequired
Array of Identity Providers.
identityProviderMappers
array
Array of Identity provider mappers.
internationalizationEnabled
booleanRequired
true/false Internationalization Enabled.
supportedLocales
arrayRequired
Array of support Locales.
browserFlow
stringRequired
Browser flow.
registrationFlow
stringRequired
Registration Flow.
directGrantFlow
stringRequired
Direct GrantFlow.
resetCredentialsFlow
stringRequired
ResetCredentials flow.
clientAuthenticationFlow
stringRequired
Client authentication flow.
dockerAuthenticationFlow
stringRequired
Docker authentication flow.
attributes
object
Workspace attributes.
userManagedAccessAllowed
booleanRequired
true/false for user managed access allowed or not.
live
booleanRequired
true/false for live or not.
{
"id": "c99f3058-4e0e-4049-80cf-bbc0d8fb52d8",
"realm": "brand12",
"realmLogo": "",
"workspace": "https://brand12.dev.eztoauth.com",
"notBefore": 0,
"revokeRefreshToken": false,
"refreshTokenMaxReuse": 0,
"accessTokenLifespan": 300,
"accessTokenLifespanForImplicitFlow": 900,
"ssoSessionIdleTimeout": 1800,
"ssoSessionMaxLifespan": 36000,
"ssoSessionIdleTimeoutRememberMe": 0,
"ssoSessionMaxLifespanRememberMe": 0,
"offlineSessionIdleTimeout": 2592000,
"offlineSessionMaxLifespanEnabled": false,
"offlineSessionMaxLifespan": 5184000,
"clientSessionIdleTimeout": 0,
"clientSessionMaxLifespan": 0,
"clientOfflineSessionIdleTimeout": 0,
"clientOfflineSessionMaxLifespan": 0,
"accessCodeLifespan": 60,
"accessCodeLifespanUserAction": 300,
"accessCodeLifespanLogin": 1800,
"actionTokenGeneratedByAdminLifespan": 43200,
"actionTokenGeneratedByUserLifespan": 300,
"enabled": true,
"sslRequired": "external",
"verifyEmail": false,
"loginWithEmailAllowed": true,
"duplicateEmailsAllowed": false,
"editUsernameAllowed": false,
"userInviteWay": "otp",
"bruteForceProtected": false,
"permanentLockout": false,
"maxFailureWaitSeconds": 900,
"minimumQuickLoginWaitSeconds": 60,
"waitIncrementSeconds": 60,
"quickLoginCheckMilliSeconds": 1000,
"maxDeltaTimeSeconds": 43200,
"failureFactor": 30,
"enabledOwnEmailProvider": false,
"enabledOwnSmsProvider": false,
"defaultRoles": [
"user",
"offline_access",
"uma_authorization"
],
"requiredCredentials": [
"password"
],
"otpPolicyType": "totp",
"otpPolicyAlgorithm": "HmacSHA1",
"otpPolicyInitialCounter": 0,
"otpPolicyDigits": 6,
"otpPolicyLookAheadWindow": 1,
"otpPolicyPeriod": 30,
"otpSupportedApplications": [
"FreeOTP",
"Google Authenticator"
],
"webAuthnPolicyRpEntityName": "keycloak",
"webAuthnPolicySignatureAlgorithms": [
"ES256"
],
"webAuthnPolicyRpId": "",
"webAuthnPolicyAttestationConveyancePreference": "not specified",
"webAuthnPolicyAuthenticatorAttachment": "not specified",
"webAuthnPolicyRequireResidentKey": "not specified",
"webAuthnPolicyUserVerificationRequirement": "not specified",
"webAuthnPolicyCreateTimeout": 0,
"webAuthnPolicyAvoidSameAuthenticatorRegister": false,
"webAuthnPolicyAcceptableAaguids": [],
"webAuthnPolicyPasswordlessRpEntityName": "keycloak",
"webAuthnPolicyPasswordlessSignatureAlgorithms": [
"ES256"
],
"webAuthnPolicyPasswordlessRpId": "",
"webAuthnPolicyPasswordlessAttestationConveyancePreference": "not specified",
"webAuthnPolicyPasswordlessAuthenticatorAttachment": "not specified",
"webAuthnPolicyPasswordlessRequireResidentKey": "not specified",
"webAuthnPolicyPasswordlessUserVerificationRequirement": "not specified",
"webAuthnPolicyPasswordlessCreateTimeout": 0,
"webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister": false,
"webAuthnPolicyPasswordlessAcceptableAaguids": [],
"browserSecurityHeaders": {
"contentSecurityPolicyReportOnly": "",
"xContentTypeOptions": "nosniff",
"xRobotsTag": "none",
"xFrameOptions": "SAMEORIGIN",
"contentSecurityPolicy": "frame-src 'self' https://wchat.in.freshchat.com/ https://www.google.com/ ; frame-ancestors 'self'; object-src 'none';",
"xXSSProtection": "1; mode=block",
"strictTransportSecurity": "max-age=31536000; includeSubDomains"
},
"smtpServer": {},
"smsServer": {},
"loginTheme": "qlik_verify",
"accountTheme": "qlik_verify",
"adminTheme": "qlik_verify",
"emailTheme": "qlik_verify",
"eventsEnabled": false,
"mfaProviders": [],
"eventsListeners": [
"jboss-logging",
"email"
],
"enabledEventTypes": [],
"adminEventsEnabled": false,
"adminEventsDetailsEnabled": false,
"identityProviders": [],
"identityProviderMappers": [],
"internationalizationEnabled": false,
"supportedLocales": [],
"browserFlow": "browser",
"registrationFlow": "registration",
"directGrantFlow": "direct grant",
"resetCredentialsFlow": "reset credentials",
"clientAuthenticationFlow": "clients",
"dockerAuthenticationFlow": "docker auth",
"attributes": {},
"userManagedAccessAllowed": false,
"live": false
}
HTTP STATUS CODE SUMMARY | ||
---|---|---|
200 - OK | Successfully done. | |
201 - OK | Successfully created. | |
400 - Bad Request | The request was unacceptable, often due to missing a required parameter. | |
401 - Unauthorized | Unauthorized access try with correct access. | |
402 - Request Failed | The parameters were valid but the request failed. | |
403 - Forbidden | The Application doesn't have permissions to perform the request. | |
404 - Not Found | The requested resource doesn't exist | |
500 - Server Errors | Something went wrong on ezto auth's end. (These are rare.) | |
503 - Server Errors | Service temporarily unavailable |