Change authentication options

Changes customer authentication options.

SecuritySecretApiKey or JWT
Request
Request Body schema: application/json

Authentication options resource.

passwordPattern
string

Allowed password pattern.

credentialTtl
integer

Default credential lifetime, in seconds.

authTokenTtl
integer

Default auth-token lifetime, in seconds.

resetTokenTtl
integer

Default reset-token lifetime, in seconds.

otpRequired
boolean

Specifies whether a One-Time Password (OTP) is required to exchange a token.

Responses
200

Authentication options updated.

Response Schema: application/json
passwordPattern
string

Allowed password pattern.

credentialTtl
integer

Default credential lifetime, in seconds.

authTokenTtl
integer

Default auth-token lifetime, in seconds.

resetTokenTtl
integer

Default reset-token lifetime, in seconds.

otpRequired
boolean

Specifies whether a One-Time Password (OTP) is required to exchange a token.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

422

Invalid data was sent.

put/authentication-options
Request samples
application/json
{
  • "passwordPattern": "string",
  • "credentialTtl": 0,
  • "authTokenTtl": 0,
  • "resetTokenTtl": 0,
  • "otpRequired": true
}
Response samples
application/json
{
  • "passwordPattern": "string",
  • "credentialTtl": 0,
  • "authTokenTtl": 0,
  • "resetTokenTtl": 0,
  • "otpRequired": true
}