Skip to main content

Disable 2FA

POST 

/api

Disable 2fa for current user or for another user by passing user_id. A current 2fa code is required to run the action on current user. For another user the MANAGE_USER permission is required.

Request

Body

array

required

  • Array [

  • action Actionrequired

    Possible values: [disable_2fa]

    code

    object

    nullable

    anyOf

    string

    user_id

    object

    nullable

    anyOf

    string

    metadata

    object

    property name* any
  • ]

Responses

Successful Response

Loading...