Create Tenant

Scopes
write:tenant

Request Body

region
string
Zorunlu

Değer: tr-1

tenant_id
string
Zorunlu

Your tenant's identifier.

settings
object
settings.
api_version
string

Mevcut Değerler: 2021-07-04

settings.
auto_sign_in
boolean
settings.
default_strategy
string
settings.
expose_unsafe_errors
boolean
settings.
extra_params
array<string>
settings.
extra_scopes
array<string>
settings.
force_email_verification
boolean
settings.
forgot_password_enabled
boolean
settings.
hash_function
string

Mevcut Değerler: bcryptargon2pbkdf2

Varsayılan Değer: "bcrypt"

settings.
register_enabled
boolean
settings.
tenant_login_url
string
settings.
welcome_emails_enabled
boolean
settings.
authenticator
object

PlusAuth Authenticator Application related settings

settings.authenticator.
bind_sim
boolean

Should authenticator application logout if a SIM card change detected on device

settings.
ciba
object
settings.ciba.
delivery_mode
string

Mevcut Değerler: pingpoll

settings.ciba.
notifier_endpoint
string
settings.
environment_variables
object
settings.
policies
object
settings.policies.
account_blocking
object
settings.policies.account_blocking.
allow_user_unblock
boolean

If true, users will be able to unblock their accounts by the link received in notification email.

Varsayılan Değer: true

settings.policies.account_blocking.
allowed_attempts
integer
min5
max
250

Maximum failed login attempts to block user for specified duration.

Varsayılan Değer: 10

settings.policies.account_blocking.
block_duration
integer
min60
max
630720000

Number of seconds to block the account.

Varsayılan Değer: 630720000

settings.policies.account_blocking.
duration
integer
min60
max
7776000

Number of seconds before attempts are reset

Varsayılan Değer: 7776000

settings.policies.account_blocking.
enabled
boolean

Varsayılan Değer: true

settings.policies.account_blocking.
notification
boolean

Send an email to user's email address about the activity.

Varsayılan Değer: true

settings.policies.account_blocking.
reset_after_success
boolean

Reset failed attempts count after successful login.

settings.policies.
brute_force
object
settings.policies.brute_force.
allowed_attempts
integer
min5
max
50

Allowed consecutive login attempts

Varsayılan Değer: 10

settings.policies.brute_force.
block_duration
integer
min60
max
630720000

Number of seconds to block the IP.

Varsayılan Değer: 630720000

settings.policies.brute_force.
duration
integer
min60
max
7776000

Number of seconds before attempts are reset

Varsayılan Değer: 7776000

settings.policies.brute_force.
enabled
boolean

Varsayılan Değer: true

settings.policies.brute_force.
notification
boolean

Send an email to user's email address about the activity.

Varsayılan Değer: true

settings.policies.brute_force.
white_list
array<string>

Whitelisted IP addresses.

settings.policies.
password
object

Password policy settings to be enforced to your new users.

settings.policies.password.
custom_chars
string

Require at least on of the given characters

settings.policies.password.
history
integer
min1
max
10

The system will maintain a password history for each user and prevent the reuse of passwords included in the history. The password history can be up to 10 in size. When provided, the system will maintain existing and new users' password history going forward.

settings.policies.password.
lower_case
integer
min0
max
32

Require at least given value of lowercase letters

settings.policies.password.
max
integer
max
128

Maximum number of characters

settings.policies.password.
min
integer
min0

Minimum number of characters

settings.policies.password.
number
integer
min0
max
32

Require at least given value of numbers

settings.policies.password.
upper_case
integer
min0
max
32

Require at least given value of uppercase letters

settings.
ttl
object

Lifetime settings of generated tokens defined in seconds.

settings.ttl.
access_token
integer
min30
settings.ttl.
authorization_code
integer
min30
settings.ttl.
backchannel_authentication_request
integer
min30
settings.ttl.
client_credentials
integer
min30
settings.ttl.
device_code
integer
min30
settings.ttl.
id_token
integer
min30
settings.ttl.
refresh_token
integer
min30
settings.ttl.
session
integer
min30
POST
/tenants
1
2
3
4
5
Loading...
Response:
201
Loading...

Response Body Schema

region
string
Zorunlu

Değer: tr-1

tenant_id
string
Zorunlu

Your tenant's identifier.

keystore
array<object>
keystore.
created_at
number
Zorunlu

Key creation date in milliseconds since the epoch

keystore.
revoked_at
number

Revocation time in milliseconds since the epoch

keystore.
rotated_at
number

Rotation time in milliseconds since the epoch

keystore.
key
object
Zorunlu

Public JWK. You can look at JWK specification from here

keystore.key.
alg
string
Zorunlu
keystore.key.
e
string
Zorunlu
keystore.key.
kid
string
Zorunlu
keystore.key.
kty
string
Zorunlu
keystore.key.
n
string
Zorunlu
keystore.key.
use
string
Zorunlu
keystore.key.
key_ops
array<string>
keystore.key.
x5c
array<string>
keystore.key.
x5t
string
keystore.key.
x5t#S256
string
keystore.key.
x5u
string
settings
object
Zorunlu
settings.
api_version
string
Zorunlu

Mevcut Değerler: 2021-07-04

settings.
auto_sign_in
boolean
Zorunlu
settings.
default_strategy
string
Zorunlu
settings.
expose_unsafe_errors
boolean
Zorunlu
settings.
extra_params
array<string>
Zorunlu
settings.
extra_scopes
array<string>
Zorunlu
settings.
force_email_verification
boolean
Zorunlu
settings.
forgot_password_enabled
boolean
Zorunlu
settings.
hash_function
string
Zorunlu

Mevcut Değerler: bcryptargon2pbkdf2

Varsayılan Değer: "bcrypt"

settings.
register_enabled
boolean
Zorunlu
settings.
tenant_login_url
string
Zorunlu
settings.
welcome_emails_enabled
boolean
Zorunlu
settings.
ciba
object
Zorunlu
settings.ciba.
delivery_mode
string
Zorunlu

Mevcut Değerler: pingpoll

settings.ciba.
notifier_endpoint
string
Zorunlu
settings.
environment_variables
object
Zorunlu
settings.
policies
object
Zorunlu
settings.policies.
account_blocking
object
Zorunlu
settings.policies.account_blocking.
allow_user_unblock
boolean
Zorunlu

If true, users will be able to unblock their accounts by the link received in notification email.

Varsayılan Değer: true

settings.policies.account_blocking.
allowed_attempts
integer
Zorunlu
min5
max
250

Maximum failed login attempts to block user for specified duration.

Varsayılan Değer: 10

settings.policies.account_blocking.
block_duration
integer
Zorunlu
min60
max
630720000

Number of seconds to block the account.

Varsayılan Değer: 630720000

settings.policies.account_blocking.
duration
integer
Zorunlu
min60
max
7776000

Number of seconds before attempts are reset

Varsayılan Değer: 7776000

settings.policies.account_blocking.
enabled
boolean
Zorunlu

Varsayılan Değer: true

settings.policies.account_blocking.
notification
boolean
Zorunlu

Send an email to user's email address about the activity.

Varsayılan Değer: true

settings.policies.account_blocking.
reset_after_success
boolean
Zorunlu

Reset failed attempts count after successful login.

settings.policies.
brute_force
object
Zorunlu
settings.policies.brute_force.
allowed_attempts
integer
Zorunlu
min5
max
50

Allowed consecutive login attempts

Varsayılan Değer: 10

settings.policies.brute_force.
block_duration
integer
Zorunlu
min60
max
630720000

Number of seconds to block the IP.

Varsayılan Değer: 630720000

settings.policies.brute_force.
duration
integer
Zorunlu
min60
max
7776000

Number of seconds before attempts are reset

Varsayılan Değer: 7776000

settings.policies.brute_force.
enabled
boolean
Zorunlu

Varsayılan Değer: true

settings.policies.brute_force.
notification
boolean
Zorunlu

Send an email to user's email address about the activity.

Varsayılan Değer: true

settings.policies.brute_force.
white_list
array<string>
Zorunlu

Whitelisted IP addresses.

settings.policies.
password
object
Zorunlu

Password policy settings to be enforced to your new users.

settings.policies.password.
custom_chars
string

Require at least on of the given characters

settings.policies.password.
history
integer
min1
max
10

The system will maintain a password history for each user and prevent the reuse of passwords included in the history. The password history can be up to 10 in size. When provided, the system will maintain existing and new users' password history going forward.

settings.policies.password.
lower_case
integer
min0
max
32

Require at least given value of lowercase letters

settings.policies.password.
max
integer
max
128

Maximum number of characters

settings.policies.password.
min
integer
min0

Minimum number of characters

settings.policies.password.
number
integer
min0
max
32

Require at least given value of numbers

settings.policies.password.
upper_case
integer
min0
max
32

Require at least given value of uppercase letters

settings.
ttl
object
Zorunlu

Lifetime settings of generated tokens defined in seconds.

settings.ttl.
access_token
integer
Zorunlu
min30
settings.ttl.
authorization_code
integer
Zorunlu
min30
settings.ttl.
backchannel_authentication_request
integer
Zorunlu
min30
settings.ttl.
client_credentials
integer
Zorunlu
min30
settings.ttl.
device_code
integer
Zorunlu
min30
settings.ttl.
id_token
integer
Zorunlu
min30
settings.ttl.
refresh_token
integer
Zorunlu
min30
settings.ttl.
session
integer
min30
settings.
authenticator
object

PlusAuth Authenticator Application related settings

settings.authenticator.
bind_sim
boolean

Should authenticator application logout if a SIM card change detected on device

subscription
object
Zorunlu
subscription.
customer_id
string
Zorunlu
subscription.
id
string
Zorunlu
subscription.
plan
string
Zorunlu
subscription.
next_invoice
string
subscription.
payment_source_id
string
subscription.
details
object
Zorunlu