Skip to main content

Configure OTP

POST 

/api

Enable OTP for current user and return 10 one time passwords that can be used for 2fa. Any existing one time passwords will be removed. code is required if 2fa is already enabled.

Request

Body

array

required

  • Array [

  • action Actionrequired

    Possible values: [configure_otp]

    code

    object

    nullable

    anyOf

    string

    metadata

    object

    property name* any
  • ]

Responses

Successful Response

Loading...