Skip to main content

Configure TOTP

POST 

/api

Enables TOTP for the current user. code and secret are required input parameters where secret is the TOTP secret from generate_totp and code is the current code generated from the secret.

Request

Body

array

required

  • Array [

  • action Actionrequired

    Possible values: [configure_totp]

    code

    object

    nullable

    anyOf

    string

    secret

    object

    nullable

    anyOf

    string

    metadata

    object

    property name* any
  • ]

Responses

Successful Response

Loading...