Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

A request to update or disable the OTP type "email" in the user's MFA configuration.

otpType
enum<string>
required

[TO_VALIDATE] Description pending review by a Kardinal engineer.

Available options:
email
email
string<email>
required

A valid email address.

Example:

"martin.dupont@kardinal.ai"

password
string<password>
required

A user password must contain at least:

  • 1 number,
  • 1 uppercase letter,
  • 1 lowercase letter,
  • 1 special character amongst the following: !"#$%&'()*+,-./:;<=>?@[]^_`{|}~
  • 12 characters. And it must not exceed 72 bytes.
Pattern: ^.{12,72}$

Response

The OTP token valid for 10 minutes.

A JWT token with scope 'otp' valid for 10 minutes.

item
object

[TO_VALIDATE] Description pending review by a Kardinal engineer.